Logo: Relish

  1. Sign in

Project: R2g

Declare group

Background
Given
an R2G application
Scenarios
Declare a standard group
Given
I declare a group symbolized by name and named "human name"
When
I generate
Then
generation should be a success
And
I should get a dropdown menu "human name" guarded by a 'granted group' clause on symbol name
Examples:
name human name
:clients Clients
:hebdo Suivi hebdo
Declare a group for a profile
Given
I declare a group symbolized by :stats and named "Statistiques", only for :marketing
When
I generate
Then
generation should be a success
And
I should get a dropdown menu "Statistiques" guarded by a 'granted group' clause on symbol :stats
And
I should get a protection for group :stats with profile :marketing
Declare a group with invalid profile
Given
I declare a group symbolized by :stats and named "Statistiques", only for :xxx
When
I generate
Then
generation should raise an error for profile :xxx
Declare a group with invalid duplicate name
Given
I declare a group symbolized by :stats and named "Statistiques"
When
I declare a group symbolized by :stats and named "Autres Statistiques"
Then
this group declaration should raise an error for group name :stats

Last published over 4 years ago by rbouy.