From a8ac1be7054d4f289ef4db1a31bb37aae1c5d6c0 Mon Sep 17 00:00:00 2001 From: Mike Crowe Date: Thu, 15 Aug 2019 16:06:38 +0100 Subject: [PATCH] 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 --- tests/README | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 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 + 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. - There's nothing in the system that *requires* us to keep within these number - series. + New tests should now be added by finding a free number in + tests/data/Makefile.inc. 3. Write tests