You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a tactic/technique, split up, how we are going to test.
types
Unit test, test a small separated piece of code without the app context , the business logic Integration service tests, test use cases and their possible paths, only test what can change and what is important in the service layer and flowthrough. Don't test every single unit case * security consumer tests, test that the listener consumes specific event when it is published and calls/does the required logic. And in case of failure of logic then what producer tests, test that a service publishes events when handled (and that the producer works) Integration endpoint tests, test http requests en a set of possible security takes on the call.
Add security to tests where security plays a role:
Create a way to easily test all roles.(common test fixtures of different user roles)
Add test base for consumer test(logic publish request)
add http/mock test base for http integration tests
producer test (Service tested should publish event (into broker))
Service integration tests / mocked tests
Controller test base with http (mock) support
user test fixtures
The text was updated successfully, but these errors were encountered:
Create a tactic/technique, split up, how we are going to test.
types
Unit test, test a small separated piece of code without the app context , the business logic
Integration service tests, test use cases and their possible paths, only test what can change and what is important in the service layer and flowthrough. Don't test every single unit case * security
consumer tests, test that the listener consumes specific event when it is published and calls/does the required logic. And in case of failure of logic then what
producer tests, test that a service publishes events when handled (and that the producer works)
Integration endpoint tests, test http requests en a set of possible security takes on the call.
Add security to tests where security plays a role:
The text was updated successfully, but these errors were encountered: