Project

General

Profile

Actions

Task #801

closed

Execute integration tests, when is needed

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

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Release
Target version:
Start date:
10/31/2017
Due date:
% Done:

100%

Estimated time:
Owner:

Description

Make execution integration tests configurable - e.g. when release is created, then all integration test are executed now and its really slow. Integration tests are executed on CI after each push.
Only integration test for swagger documentation has to be executed every time - test prepares artifacts for html documentation.

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 Vít Švanda
  • % Done changed from 0 to 90

It's implemented, if parameter '-DdocumentationOnly' is added into $mvn command, then all integration tests except tests for swagger documentation are skipped.

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/be6cbd3d03ef262104512cda814928324df91cc3

Documentation:
https://wiki.czechidm.com/devel/dev/architecture/swagger?s[]=swagger#tips
https://wiki.czechidm.com/devel/dev/conventions/testing#testing_tips

Could you pls do a review?

Actions #2

Updated by Vít Švanda over 6 years ago

  • Assignee changed from Vít Švanda to Ondřej Kopr
Actions #3

Updated by Vít Švanda over 6 years ago

  • Assignee changed from Ondřej Kopr to Vít Švanda
Actions #4

Updated by Vít Švanda over 6 years ago

  • Assignee changed from Vít Švanda to Ondřej Kopr
Actions #5

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

I did review this new configuration for mvn "-DdocumentationOnly=true" works awesome, test are really skipped, thanks for the feature.

Actions #6

Updated by Radek Tomiška over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF