Skip to content

Commit 601fe22

Browse files
committed
测试套件也将就重用
1 parent defe683 commit 601fe22

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

testing/test-suite-layout.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
== 测试套件结构
1+
== 测试套件设计
22

33
// 翻译中。。。。(yuansheng)
44

@@ -59,7 +59,9 @@ Although `.t` files are Perl scripts per se, they usually do not have much
5959
Perl code at all. Instead, all of the test cases are declared as cleanly
6060
formatted "data" in these `.t` files.
6161

62-
62+
注意:我们这里使用的测试套件设计约定,在 Perl 社区已经延用多年。
63+
因为 `Test::Nginx` 使用 Perl 编写的,在 Perl 的测试工具链中重用,这就很容易说得通,我们只需要
64+
NGINX 和 OpenResty 世界简单的遵循这些约定就好。
6365
NOTE: The test suite layout convention we use here are also used by the
6466
Perl community for many years. Because `Test::Nginx` is written in Perl
6567
and reuses Perl's testing toolchain, it makes sense for us to simply follow

0 commit comments

Comments
 (0)