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
I would like to learn/have an example of how validators can tested.
Acceptance Criteria
Have fronted form for adding tea
Have validators in model/controller
Have a test for the annotation/registration of these validators
Additional Information
Of course the validator of its own can be tested as unit test. But the goal would be here to test if a model/dto has all validators and the are registered correctly.
This can be done by annotation in model but also in as annotation in controller context.
I'm thinking of a functional controller/model test.
The text was updated successfully, but these errors were encountered:
Goal
I would like to learn/have an example of how validators can tested.
Acceptance Criteria
Additional Information
Of course the validator of its own can be tested as unit test. But the goal would be here to test if a model/dto has all validators and the are registered correctly.
This can be done by annotation in model but also in as annotation in controller context.
I'm thinking of a functional controller/model test.
The text was updated successfully, but these errors were encountered: