Details
-
Type: Task
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Sprint:Summer 1: 8 Jun - 19 Jun, Summer 2: 22 Jun - 3 Jul
Description
Situation: While creating new junit test cases using Netbeans 8.2 and JDK 1.8.0_251 or 1.8.0_191 on Mac could not Debug Test File. When test file (tried on GFFParserTest.java) was right-clicked > Debug Test File the test results report No tests executed and breakpoints are ignored. Can execute tests on module Core - Genometry (Data Models) by right-clicking and selecting test. This will run through the junit tests, however it does not allow for debugging.
This was also tested on a separate linux system that was able to debug test files from other projects. However, attempting to debug test files in the IGB project did not work.
Task: Investigate why the test files cannot be tested or debugged individually.
Nowlan Freese I did some digging into the issue and finally got the results that we were looking for.
ISSUE:
The debugging or a single test of a file was not possible before however when the whole project was tested the tests ran perfectly.
tests were showing as running but nothing was shown in the test execution tab.
Root Cause:
I think this has something to do with the latest surefire plugin version.
Solution:
use version 2.22.2 in pom.xml