Skip to content

Commit 2d3c5fd

Browse files
committed
测试是门艺术
1 parent fc5e690 commit 2d3c5fd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

testing/preparing-tests.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
每个测试用例都用一个测试块来表示。一个测试块由一个标题、一个可选的描述和几个数据段,
55
用于指定输入和期望的输出。在这一节我们将仔细看看对于不同的测试要求,如何准备这样的测试案例。
66

7-
Designing test cases is an art, in many ways. It may, sometimes, take even
8-
more time and effort than implementing the feature to be tested, according
9-
to our own experience. `Test::Nginx` tries hard to make writing tests as
7+
设计测试用例在很多方面都是一门艺术。有时候可能设计测试案例花费的时间和精力,多于实现要测试的功能,
8+
这个和我们自己的经验有关。`Test::Nginx` tries hard to make writing tests as
109
simple as possible but it still cannot automate the whole test case design
1110
process. Only you know exactly what to test and how it can be tested anyway.
1211
This section will focus on the basic primitives provided by `Test::Nginx`

0 commit comments

Comments
 (0)