opendevstack / ods-provisioning-app

Provisioning app, which triggers project and component provisions (including Jira / Confluence / BitBucket and OCP resource creation)
Apache License 2.0
15 stars 20 forks source link

Regression in QS e2e-spock-geb -- should not run groovy tests as part of junit tests. #736

Closed victorpablosceruelo closed 2 years ago

victorpablosceruelo commented 2 years ago

Describe the bug There is a regression introduced by PR https://github.com/opendevstack/ods-quickstarters/pull/812

https://github.com/opendevstack/ods-quickstarters/pull/812/files#diff-b58e39d227ecddbb0860222a872c81db863a1c7e13c1aa51a621cf1e522af5c8

148 + useJUnitPlatform()

To Reproduce Steps to reproduce the behavior: Create a module using QS e2e-spock-geb and add a groovy test. Since the groovy test is executed as a junit test and as a groovy test, when reporting to jira an error takes place and the compilation fails.

Expected behavior Tests should only be run once and compilation should succeed.

Screenshots If applicable, add screenshots to help explain your problem. N/A

Affected version (please complete the following information):

Log Output (ensure to remove any confidential information like tokens, project names, etc. Jira message:

Error: the following test cases are implemented multiple times each: [TES57-132](http://jira.odsbox.lan:8080/browse/TES57-132), [TES57-138](http://jira.odsbox.lan:8080/browse/TES57-138), [TES57-141](http://jira.odsbox.lan:8080/browse/TES57-141).

Additional context Add any other context about the problem here.