79519324

Date: 2025-03-19 06:37:38
Score: 2
Natty:
Report link

Okay, this is embarrassing. Here is the issue, a typo. I discovered it by logging in my @beforeEach method and then seeing where a successful run worked and a non successful run failed. Since the beforeEach never ran I started looking very carefully at the run command. It was a lowercase c:

// naughty command: mvn -Dtest=Lab5bTests#testAllSubclassesSetPackaging test
// proper command:  mvn -Dtest=Lab5bTests#testAllSubClassesSetPackaging test

So since it never ever ran the test I just re-typed the command and found the error.

Thanks for watching! Who invented case sensitivity anyway? Ok, not as bad as white-space sensitive, but still...

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @beforeEach
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Daltin