codesheriff
codesheriff copied to clipboard
suggest using a @Rule
Rather than inheriting from a base class. It allows you to compose test structures.
Oh, I totally missed this. Too many GitHub messages, I gotta learn how to use the notifications bar.
That's a good suggestion! I went for inheritance because that was the cheapest thing I could do. The base class is a JUnit test class, and so JUnit would find it naturally without me magic. I gotta think how to make that work!