For example, it is difficult to test whether a program is making proper use of the filesystem without actually allowing it to read and write from the filesystem.
例如,实际上如果不允许一个程序从文件系统进行读和写,很难测试它是否正确使用了该文件系统。
Write and test a big program in small pieces.
将一个大块的程序分解成几个小部分进行编写和测试。
At this point, the DLL will compile and link, so one could write a test program to use the Sample API and test it.
此时将编译和链接dll,因此可以编写测试程序来使用Example API并对其进行测试。
应用推荐