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.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Epic Link | IGBF-1531 [ 17617 ] |
Link | This issue relates to IGBF-2406 [ IGBF-2406 ] |
Rank | Ranked higher |
Sprint | Summer 1: 8 Jun - 19 Jun [ 96 ] | Summer 1: 8 Jun - 19 Jun, Summer 2: 22 Jun - 3 July [ 96, 97 ] |
Rank | Ranked higher |
Assignee | Chester Dias [ cdias1 ] |
Assignee | Chester Dias [ cdias1 ] |
Assignee | Chester Dias [ cdias1 ] |
Status | To-Do [ 10305 ] | In Progress [ 3 ] |
Story Points | 2 | 1 |
Attachment | During Debug of one file.png [ 14764 ] |
Attachment | Results of debugging single file.png [ 14765 ] |
Status | In Progress [ 3 ] | Needs 1st Level Review [ 10005 ] |
Assignee | Chester Dias [ cdias1 ] | Nowlan Freese [ nfreese ] |
Status | Needs 1st Level Review [ 10005 ] | First Level Review in Progress [ 10301 ] |
Status | First Level Review in Progress [ 10301 ] | Ready for Pull Request [ 10304 ] |
Assignee | Nowlan Freese [ nfreese ] | Chester Dias [ cdias1 ] |
Status | Ready for Pull Request [ 10304 ] | Pull Request Submitted [ 10101 ] |
Assignee | Chester Dias [ cdias1 ] | Nowlan Freese [ nfreese ] |
Assignee | Nowlan Freese [ nfreese ] | Ann Loraine [ aloraine ] |
Status | Pull Request Submitted [ 10101 ] | Reviewing Pull Request [ 10303 ] |
Status | Reviewing Pull Request [ 10303 ] | Merged Needs Testing [ 10002 ] |
Assignee | Ann Loraine [ aloraine ] |
Status | Merged Needs Testing [ 10002 ] | Post-merge Testing In Progress [ 10003 ] |
Resolution | Done [ 10000 ] | |
Status | Post-merge Testing In Progress [ 10003 ] | Closed [ 6 ] |
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