coldfront
coldfront copied to clipboard
Django: Tests
Automated testing is desirable for validating changes and pull requests. We should test at least the major components in the various roles to ensure these work after changes have been made. This is a starting point for things to check:
PI/manager role:
- [ ] Create a new allocation request
- [ ] Request change on an allocation
- [ ] Add/delete publication
- [ ] Add/delete grant
- [ ] Add/delete research output
- [ ] Add/remove user from project
- [ ] Add/remove user from allocation
- [ ] Renew allocation
- [ ] Access project review
Sys admin:
- [ ] Approve/deny allocation request
- [ ] Approve/deny allocation change request
- [ ] Remove 'allow changes' on allocation and verify PI can't request changes on it
- [ ] Test email in pending project review list
- [ ] Add/remove allocation attributes and test FreeIPA and Slurm plugins