codesheriff icon indicating copy to clipboard operation
codesheriff copied to clipboard

suggest using a @Rule

Open zsfre opened this issue 4 years ago • 1 comments

Rather than inheriting from a base class. It allows you to compose test structures.

zsfre avatar Mar 08 '21 15:03 zsfre

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!

mauricioaniche avatar Oct 27 '21 06:10 mauricioaniche