Skip to content

Commit 3223f49

Browse files
committed
Additional documentation of system tests - global variables, method descriptions.
In particular, try to give more context to various subdirectory names. Remove additional outdated python2/3 text from test/README.md, and add an example for how to run an individual system test. No-op.
1 parent 45b7c01 commit 3223f49

File tree

2 files changed

+315
-298
lines changed

2 files changed

+315
-298
lines changed

test/README.md

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,5 @@
11
# Testing for checkout_externals
22

3-
NOTE: Python2 is the supported runtime environment. Python3 compatibility is
4-
in progress, complicated by the different proposed input methods
5-
(yaml, xml, cfg/ini, json) and their different handling of strings
6-
(unicode vs byte) in python2. Full python3 compatibility will be
7-
possible once the number of possible input formats has been narrowed.
8-
9-
## Setup development environment
10-
11-
Development environments should be setup for python2 and python3:
12-
13-
```SH
14-
cd checkout_externals/test
15-
make python=python2 env
16-
make python=python3 env
17-
```
18-
193
## Unit tests
204

215
```SH
@@ -30,6 +14,12 @@ Development environments should be setup for python2 and python3:
3014
make stest
3115
```
3216

17+
Example to run a single test:
18+
```SH
19+
cd checkout_externals
20+
python -m unittest test.test_sys_checkout.TestSysCheckout.test_container_simple_required
21+
```
22+
3323
## Static analysis
3424

3525
checkout_externals is difficult to test thoroughly because it relies

0 commit comments

Comments
 (0)