8000 Updated guide document, added .travis.yml · coduya/testing-python-apps@080339b · GitHub
[go: up one dir, main page]

Skip to content

Commit 080339b

Browse files
committed
Updated guide document, added .travis.yml
1 parent f817c03 commit 080339b

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
language: python
2+
env:
3+
- PYTHONPATH=`pwd`/section2/video_code/
4+
python:
5+
- "2.7"
6+
- "3.5"
7+
- "3.6"
8+
- "3.6-dev" # 3.6 development branch
9+
- "3.7-dev" # 3.7 development branch
10+
- "nightly" # currently points to 3.7-dev
11+
# command to install dependencies
12+
install: "pip install -r section2/video_code/requirements.txt"
13+
# command to run tests
14+
script: pytest section2/video_code/

testing-python-apps.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Testing Python Apps
2+
3+
## Building Python apps
4+
5+
## Testing while you build
6+
7+
### Section 2: Unit testing
8+
9+
#### Continuous Integration
10+
11+
- Travis CI is set up only for Section 2.
12+
13+
### Section 3: Integration testing
14+
15+
### Sections 4 + 5: System testing
16+
17+
#### 4: unittest
18+
19+
#### 5: Postman + newman
20+
21+
Remember to cover installing the necessary PyCharm plugins to be able to run things
22+
simultaneously. Need:
23+
24+
25+
- Multirun
26+
- BashSupport (or CMDSupport on Windows)
27+
- Also need to check how to do this on Windows
28+
29+
### Section 6: Acceptance testing
30+
31+
### Section 7: Contract testing (not now)

0 commit comments

Comments
 (0)
0