Testing
Setup
- The entire backend stack should get tested
- Ideally as close to production as possible
- Be able to test both locally and against a staging environment
- Share the secret for JWT token generation between the backend stack and test stack
Test stack requirements
- Multiple test types:
- Integration test
- Performance test
- Stress test
- Generator for testdata
- WS client with STOMP
- HTTP client
Test scenarios
Basic:
- Teacher creates a room
- X participants join the room
Chatactive:
- Teacher creates a room
- X participants join the room
- Participants and teacher subscribe to the comments
- Y comments get created by Z participants (where Z <= X)
Edited by Tom Käsler