https://kotlinlang.org logo
#minutest
Title
# minutest
d

dmcg

10/20/2018, 7:01 AM
Unit isn’t quite the same, because it says that you never have a fixture. You might want a fixture that in some tests is present and others absent. I know it was in the back of my mind when I made F : Any, but I can’t remember why I did that. Let me see if it’s still necessary.
Oh boy, world of pain. The reason for Any was that I take the fixture type to check that we have in fact set a fixture. When fixture is null, then fixtureType.isInstance(it.lastValue) fails, so the check things that there is no fixture set
This is an area where I could do better though
2 Views