Skip to content

Open call collaboration with ECS, University of Southampton. Service deployment readiness tests. Contact: @mikej888

License

Notifications You must be signed in to change notification settings

softwaresaved/provtoolsuite-service-tests

 
 

Repository files navigation

Service Tests

Service tests for the Southampton Provenance Suite services:

These tests check that the services are available and respond to requests directed against their REST APIs.

The tests run under Python 2.7+ and Python 3.

Build Status

Running under Travis CI

The tests can be run under Travis CI. This respository contains a TravisCI, .travis.yml, job configuration file.

Running the service tests under Travis CI require you to:

  • Create a ProvStore API Key:
    • Log in to ProvStore
    • Select Account => Developer Area
    • You will see your API key
  • Define a Travis CI variable, PROVSTORE_API_KEY holding your ProvStore user name and API key:
    • Visit your job's settings page in Travis CI
    • Select settings
    • Click Environment Variables
    • Click Add a new variable
    • Name: PROVSTORE_API_KEY
    • Value: user:qwert12345
    • Ensure Display value in build logs is not selected
    • See define variables in repository settings.

Running under Jenkins

Jenkins is a popular, open source continuous integration server that runs under Java.

See Running the service tests under Jenkins which includes an example of a Jenkins job to run the tests.

Running standalone

The service tests can be run stand-alone. See Running the service tests standalone.

API documentation

To create API documentation in apidocs/_build/html:

$ pip install sphinx
$ make apidocs

Author

Developed by The Software Sustainability Institute and the Provenance Tool Suite team at Electronics and Computer Science at the University of Southampton.

For more information, see our document repository.

License

The code is released under the MIT license.

About

Open call collaboration with ECS, University of Southampton. Service deployment readiness tests. Contact: @mikej888

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 69.9%
  • Makefile 15.5%
  • Batchfile 14.2%
  • Shell 0.4%