Project

General

Profile

Actions

Task #1101

closed

Rest integration test

Added by Radek Tomiška over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Test
Target version:
Start date:
05/17/2018
Due date:
% Done:

100%

Estimated time:
Owner:

Description

Prepare abstract rest test - testing CRUD methods on rest controllers, which implements AbstractReadWriteDtoController.

Actions #1

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 .))

Actions #2

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!

Actions #3

Updated by Radek Tomiška over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF