File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM python:3.6
2
+ LABEL author="Peter Götz (
[email protected] )"
3
+
4
+ WORKDIR /torpydo
5
+
6
+ ENV PYTHONPATH=/torpydo
7
+
8
+ COPY requirements.txt /torpydo
9
+ COPY features/ /torpydo/features
10
+ COPY tests/ /torpydo/tests
11
+ COPY torpydo/ /torpydo/torpydo
12
+
13
+ RUN pip install --upgrade pip
14
+ RUN pip install -r requirements.txt
15
+
16
+ CMD cd torpydo && python -m torpydo
Original file line number Diff line number Diff line change @@ -76,6 +76,12 @@ to run with coverage:
76
76
nosetests --exe --with-coverage
77
77
```
78
78
79
+ to run and store the test results for further examination (e.g. build pipeline)
80
+ ```
81
+ nosetests --exe --with-xunit
82
+ behave --junit
83
+ ```
84
+
79
85
Run behave tests with coverage:
80
86
```
81
87
https://stackoverflow.com/a/37447392/736079
You can’t perform that action at this time.
0 commit comments