阅读背景:

JUnit测试java方法,测试没有返回类型的方法是正常的,还是应该对它们使用不同类型的测试?

来源:互联网 

I am testing a program as part of a college assignment, i have tested some methods that return a Boolean to see if they are correct, im wondering is it standard practice to check void methods with JUnit? or is there another way.I will post one of the methods here as an example. ThanksI am testing a program as part of a college ass




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: