1. Ignore 忽视测试
2. Explicit 显式调用
3. ExceptedException 期望异常
4. Test
5. TestFixtrue
Test Suite
TestFixtureSetUp
TestFixtureTearDown
SetUp
TearDown
作用域不同,准备资源和清楚遗留的副作用
1. Ignore 忽视测试
2. Explicit 显式调用
3. ExceptedException 期望异常
4. Test
5. TestFixtrue
Test Suite
TestFixtureSetUp
TestFixtureTearDown
SetUp
TearDown
作用域不同,准备资源和清楚遗留的副作用
转载于:https://www.cnblogs.com/tuantuan/archive/2006/09/30/519323.html