Renaming test files according to their language (#3407)

This commit is contained in:
mattsmida
2024-05-01 14:28:07 -04:00
committed by GitHub
parent 43ca74549d
commit ef9613e2d6
178 changed files with 171 additions and 169 deletions

View File

@@ -38,19 +38,20 @@ There are three varieties of tests:
very fast tests, and are exhaustive in nature.
* Python unit tests that are at the highest level, exercising the command
line, hooks and syncing. There is an example, 'template.t', that shows how
to perform various high level tests.
line, hooks and syncing. There is an example, 'template.test.py', that
shows how to perform various high level tests.
* Bash unit tests, one test per file, using the bash_tap_tw.sh script. These
tests are small, quick tests, not intended to be permanent.
All tests are named with the pattern '*.t', and any other forms are not run by
the test harness. Additionally a test must be set executable (chmod +x) for it
to be run. In the case of Python tests one can still run them manually by
launching them with 'python test.t' or simply './test.t'. It also allows us to
keep tests submitted for bugs that are not scheduled to be fixed in the
upcoming release, and we don't want the failing tests to prevent us from seeing
100% pass rate for the bugs we *have* fixed.
All tests are named with the pattern '*.test.py', '*.test.sh', or '*.test.cpp',
and any other forms are not run by the test harness. Additionally a test must
be set executable (chmod +x) for it to be run. In the case of Python tests one
can still run them manually by launching them with 'python testname.test.py' or
simply './testname.test.py'. It also allows us to keep tests submitted for bugs
that are not scheduled to be fixed in the upcoming release, and we don't want
the failing tests to prevent us from seeing 100% pass rate for the bugs we
*have* fixed.
Goals