Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCannot navigate to failed test with throws annotation #89
Comments
|
It's a NPE. |
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up|
It's a NPE. |
@tkleiber mentioned this issue at the DOAG conference and sent detailed information via Twitter. I could reproduce it. Here's a simplified version.
1. Create the following package specifications without bodies
2. Run them in a SQL Developer worksheet
and the result looks good:
3. Run the same tests with the realtime reporter in SQL Developer
This looks good. You can click on the second test and click on every single tab (test, failures, errors, warnings, info). But when you click on the first test the GUI is blocked. You cannot navigate successfully to the first test. The following screenshot shows the inconsistencies.
4. Workaround (not really)
Create a package body for the test with the throws annotation, like this:
When the test succeeds then the GUI behaves as expected. When the test fails, then navigation to the failed test is not possible.