Every time a programmer runs the build process and has a successful code compile, a run of all the applicable unit tests should follow.
程序员每次运行构建流程并成功编译代码时,应遵循所有的应用单元测试。
Though you will not test your static unit tests very often, dynamic unit tests can be tested every single time you compile your code (if they all run quick enough).
即使你不经常测试静态单元测试,动态单元测试可以在你每一次编译代码的时候进行测试(如果都运行得足够快)。
When you compile a program that USES units, the command-line compiler searches for source and compiled unit files in the current directory.
当你编译的程序使用了其它单元文件。编译器会在本目录搜索源文件和已编译单元。
应用推荐