]> granicus.if.org Git - curl/commitdiff
tests: Replace outdated test case numbering documentation
authorMike Crowe <mac@mcrowe.com>
Thu, 15 Aug 2019 15:06:38 +0000 (16:06 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 15 Aug 2019 15:20:46 +0000 (17:20 +0200)
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

tests/README

index 16a8f06e17136a3717e66d84d0c1b711e205eb07..bfd234a10575b052fbe6542b40a7df39fb63bd36 100644 (file)
@@ -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