The setUp function prepares the test fixtures used throughout the tests, in this case just the path to the test RSS file you'll parse in the test function.
setup函数负责准备整个测试过程中需要使用的测试装置,在本例中只有测试用的RSS文件的目录,测试函数将对其进行解析。
The setUp function prepares the test fixtures used throughout the tests, in this case just the path to the test RSS file you'll parse in the test function.
setup函数负责准备整个测试过程中需要使用的测试装置,在本例中只有测试用的RSS文件的目录,测试函数将对其进行解析。
应用推荐