aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMike Crowe <mac@mcrowe.com>2019-08-15 16:06:38 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-08-15 17:20:46 +0200
commita8ac1be7054d4f289ef4db1a31bb37aae1c5d6c0 (patch)
tree7c1a5ab809a791321d6aaea7cf0c5c6801f41331 /tests
parent0b1e74b6b1e0b2c1988d0a5aa7dfc5b8c3295cbd (diff)
tests: Replace outdated test case numbering documentation
Tests are no longer grouped by numeric range[1]. Let's stop saying that and provide some alternative advice for numbering tests. [1] https://curl.haxx.se/mail/lib-2019-08/0043.html Closes #4227
Diffstat (limited to 'tests')
-rw-r--r--tests/README27
1 files changed, 6 insertions, 21 deletions
diff --git a/tests/README b/tests/README
index 16a8f06e1..bfd234a10 100644
--- a/tests/README
+++ b/tests/README
@@ -216,27 +216,12 @@ The curl Test Suite
2.1 Test case numbering
- 1 - 99 HTTP
- 100 - 199 FTP
- 200 - 299 FILE
- 300 - 399 HTTPS
- 400 - 499 FTPS
- 500 - 599 libcurl source code tests, not using the curl command tool
- 600 - 699 SCP/SFTP
- 700 - 799 SOCKS4 (even numbers) and SOCK5 (odd numbers)
- 800 - 849 IMAP
- 850 - 899 POP3
- 900 - 999 SMTP
- 1000 - 1299 miscellaneous
- 1300 - 1399 unit tests
- 1400 - 1499 miscellaneous
- 1500 - 1599 libcurl source code tests, not using the curl command tool
- (same as 5xx)
- 1600 - 1699 unit tests
- 2000 - x multiple sequential protocols per test case
-
- There's nothing in the system that *requires* us to keep within these number
- series.
+ Test cases used to be numbered by category, but the ranges filled
+ up. Subsets of tests can now be selected by passing keywords to the
+ runtests.pl script via the make TFLAGS variable.
+
+ New tests should now be added by finding a free number in
+ tests/data/Makefile.inc.
3. Write tests