我已经实现了两个void创建文件和读取文件的静态方法.我想测试方法,但我不知道如何测试使用文件的方法.最好的方法是什么?
void
我正在使用Java和JUnit.
junit unit-testing file
file ×1
junit ×1
unit-testing ×1