Tests 测试

  1. One assert per test.

  2. Readable.

  3. Fast.

  4. Independent.

  5. Repeatable.

  • 每个测试一个断言。

  • 可读。

  • 快速。

  • 独立。

  • 可重复。

Last updated

Was this helpful?