-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This re-roots the antenna tests so tests are under tests/ and not tests/unittest/. The latter implies a test categorization we're not using and it's confusing.
- Loading branch information
Showing
22 changed files
with
21 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,25 @@ | ||
============ | ||
Tests README | ||
============ | ||
====== | ||
README | ||
====== | ||
|
||
In this directory are all the tests for Antenna. Each subdirectory holds a | ||
different test system. Consult the README in the subdirectory for details | ||
on setting up and running those tests. | ||
These test the Antenna code. We use the pytest test runner. | ||
|
||
Contents of this directory:: | ||
|
||
Subdirectories | ||
============== | ||
data/ -- holds test data | ||
conftest.py -- holds pytest fixtures | ||
test_*.py -- a test file | ||
|
||
**tests/data/** | ||
|
||
Data to make it easier to test a local instance. | ||
Run these tests from the repository root using:: | ||
|
||
**tests/unittest/** | ||
make test | ||
|
||
These are written in Python, use pytest as the test runner and are run | ||
during normal development to unit test the code in Antenna. | ||
|
||
Run these with:: | ||
To run a single test or group of tests or with different options, do:: | ||
|
||
$ make test | ||
make testshell | ||
|
||
Run with more options with:: | ||
|
||
$ make testshell | ||
app@xxx:/app$ pytest | ||
This gives you a bash shell in the docker container where you can more easily | ||
do test runs and debugging. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.