Commit ac06f75f authored by hparraga's avatar hparraga
Browse files

create globus groups test guide

parent ad55701e
# Data Management Globus Groups Test Guide
## Running the Test Suite
Be sure the services are running. Services live in
`data-management/etc/init.d`
To run the test cases:
```
source etc/dm.setup.sh
python test/python/dmtest/ds_web_service/api/test_globus_group_ds_api.py
```
## Coverage
To run with coverage:
```
python -m coverage run test_globus_group_ds_api.py
python -m coverage report
python -m coverage html #detailed html reports
```
Last run coverage: 0%
## Test Scenarios
### add globus group members
- [ ] error if no experiment name
- [ ] error if no usernames
- [ ] adds members to groups
### add user system role
- [ ] error if no user name
- [ ] error if no role name
- [ ] error if role name not `Administrator` or `Manager`
- [ ] error if no station name and role is `Administrator`
- [ ] error if station name and role is `Manager`
- [ ] assigns role to user
### create globus group
- [ ] creates globus group
- [ ] error if no experiment name
### delete globus group
- [ ] deletes globus group
- [ ] error if no experiment name
### delete globus group members
- [ ] error if no experiment name
- [ ] error if no usernames
- [ ] deletes members from a group
### delete user system role
- [ ] error if no user name
- [ ] error if no role name
- [ ] error if role name not `Administrator` or `Manager`
- [ ] error if no station name and role is `Administrator`
- [ ] error if station name and role is `Manager`
- [ ] deletes role from user
### get globus group
- [ ] gives information about globus group
- [ ] group can be found by experiment name or group id
- [ ] error if experiment name and group id are both missing
### list globus groups
- [ ] lists all globus groups for a station
- [ ] if station name not given, uses station from config manager
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment