单元测试

單元測試
dānyuán cèshì
noun

Meanings

  1. 1 unit test
  2. 2 unit testing

Examples

Měige mókuài dōu yīnggāi yǒu dānyuán cèshì.
Every module should have unit tests.
Dānyuán cèshì méi tōngguò, bùnéng tíjiāo dàimǎ.
The unit tests didn't pass, so the code can't be committed.

Tips

usage
Direct calque from English: 单元 = unit + 测试 = test. Contrast with 集成测试 (integration test) and 测试 (end-to-end test).

Stroke Order

dān
yuán
shì