Task #1101
closedRest integration test
100%
Description
Prepare abstract rest test - testing CRUD methods on rest controllers, which implements AbstractReadWriteDtoController.
Updated by Radek Tomiška over 6 years ago
- Status changed from New to Needs feedback
- Assignee changed from Radek Tomiška to Ondřej Kopr
- % Done changed from 0 to 90
I created new super class ''AbstractReadWriteDtoControllerRestTest'', which can be used for simplify controller testing:
https://wiki.czechidm.com/devel/documentation/conventions/dev/testing
I used this new test class for "gold" domain types controllers (see examples in ''eu.bcvsolutions.idm.core.rest.impl'' test package).
Could you do a feedback pls (maybe try to use it for some of your controller .))
Updated by Ondřej Kopr over 6 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Ondřej Kopr to Radek Tomiška
- % Done changed from 90 to 100
Thank for the abstract rest test class. Create test for rest is now super easy and very fast! Thank you. I try it on script (I must implement some necessary permissions and method for script, but create test is soo easy).
My commit: https://github.com/bcvsolutions/CzechIdMng/commit/062a59677399fd3052c2eb2f150dee8dce415372
Thanks Radek for the feature!
Updated by Radek Tomiška over 6 years ago
- Status changed from Resolved to Closed