mirror of https://github.com/gogits/gogs.git
skyblue
11 years ago
4 changed files with 40 additions and 9 deletions
@ -0,0 +1,9 @@ |
|||||||
|
command: python -m pytest {} |
||||||
|
include: ^test_.*\.py$ |
||||||
|
path: ./ |
||||||
|
depth: 1 |
||||||
|
verbose: true |
||||||
|
timeout: 1m |
||||||
|
reload: false |
||||||
|
html: test.html |
||||||
|
notify: [] |
@ -0,0 +1,14 @@ |
|||||||
|
## gogs test |
||||||
|
|
||||||
|
this is for developers |
||||||
|
|
||||||
|
## prepare environment |
||||||
|
# install python dependency |
||||||
|
pip install pytest |
||||||
|
# install basic test tool |
||||||
|
go get -u github.com/shxsun/travelexec |
||||||
|
# start gogs server |
||||||
|
gogs web |
||||||
|
|
||||||
|
## start test |
||||||
|
travelexec |
Loading…
Reference in new issue