Merge pull request #238 from status-im/tests/doc

Add end-to-end setup doc and JenkinsFile
This commit is contained in:
Tetiana Churikova 2018-01-30 18:12:08 +02:00 committed by GitHub
commit 5005b433f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

View File

@ -59,3 +59,11 @@ To remove issue from the Bounties list you can close it in GitHub.
All bugs should be reported as issues in the [OpenBounty Github repository](https://github.com/status-im/open-bounty/issues).
Please first check that there is not already a duplicate issue. Issues should contain exact and minimal step-by-step instructions for reproducing the problem.
### Status Open Bounty end-to-end tests
Framework for testing located in: `open-bounty/test/end-to-end`
Full installation and configuring manual: [Status Open Bounty end-to-end tests](https://wiki.status.im/Status_Open_Bounty_end-to-end_tests)
Currently supports local and Jenkins environment running (you can find example of JenkinsFile in `open-bounty/test` )

13
test/Jenkinsfile vendored Normal file
View File

@ -0,0 +1,13 @@
# `Jenkinsfile` is a groovy script DSL for defining CI/CD workflows for Jenkins (end-to-end autotests)
node ('linux1') {sauce('1be1b688-e0e7-4314-92a0-db11f52d3c00') {
checkout([$class: 'GitSCM', branches: [[name: '*/develop']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CleanBeforeCheckout']], submoduleCfg: [], userRemoteConfigs: [[url: 'https://github.com/status-im/open-bounty.git']]])
configFileProvider([configFile(fileId: 'sob_automation_test_config', targetLocation: 'test/end-to-end/tests')]) {
try {sh 'cd test/end-to-end/tests && python3 -m pytest -m sanity --build=$BUILD_NAME -v -n 1'
}
finally {
saucePublisher()
junit testDataPublishers: [[$class: 'SauceOnDemandReportPublisher', jobVisibility: 'public']], testResults: 'test/end-to-end/tests/*.xml' }
}
}
}