Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Warn on badly formed tests

#2

I created a non-public test class, which JUnit will choke on if run explicitly (with the message "Test class should have public zero-argument constructor"). Good TDD habit means that one should figure out the error soon enough, but I'm thinking it would be very useful to have this report as a Problem.

If I change the test class to be public, test failures start appearing as they should. If I again make it non-public, the test failures do not disappear (deleting them manually solved the problem).

Reported by benrady (at gmail) · September 3rd, 2009 @ 01:42 AM

State: new
Milestone: none
Assigned to: nobody

Activity

  1. benrady (at gmail)
    benrady (at gmail)
    • Assigned user set to benrady (at gmail)

    September 3rd, 2009 @ 01:42 AM

  2. benrady (at gmail)

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.