Logo: Relish

  1. Sign in

Project: R2g

Declare entity

An entity is declared inside a group

Background
Given
an R2G application
Scenarios
Declare a simple entity

This scenario creates an entity
It also controls how infos are handled based on a json export file control

Given
I declare a group symbolized by :business and named "Business"
Given
an entity symbolized by :meeting and named "rendez-vous"
Given
these infos:
:plural "rendez-vous"
:label :title
Given
these options:
:no_migrate
:no_extract
When
I generate
Then
generation should be a success
And
I should get a menu line "Rendez-vous" on symbol :meeting
And
in export.json, first entity should have "label" : "title"
And
in export.json, first entity should have "options" : "no_migrate, no_extract"
And
export.json should contain
"plural_info": "rendez-vous"

Last published over 4 years ago by rbouy.