loading...

re: Java vs Go: Impressive solutions for invented problems VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Hi John and thank you for the kind words. In junit the parameters can be shared with any test. This way you can test multiple aspects with the sa...
 

Yes! I think the same style could also be done in junit but it probably wouldn't pass a review. I do think that junit provides some nice ways to remove verbose code and just declare the parameters you want in the test. In some cases it is probably just better not to use it though. It depends on how common the code is and how much time is saves.

In graphs I was able to take advantage of these features in junit here, for example, but it is not for everyone.

Code of Conduct Report abuse