Sorry if I bump this. I did some research and I'm more confused.
A theory I found (in the course I'm following) is that I should instantiate a system under test BEFORE performing any test, for the sake of testing everytime a clean object that is not biased by other tests.
Another opinion is that it would be unnecessarily costly for some situations.
So.
Assuming that I do want to generate a new instance of the SUT every time, is it fine just to declare it as a val of the test class or do I have to generate a method with the @Before annotation to reset it explicitly?
Thanks again.