Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Conversation

@ricellis
Copy link
Member

@ricellis ricellis commented Oct 8, 2018

Checklist

  • Tick to sign-off your agreement to the Developer Certificate of Origin (DCO) 1.1
  • Added tests for code changes or test/build only changes
  • Updated the change log file (CHANGES.md|CHANGELOG.md) or test/build only changes
  • Completed the PR template below:

Description

Added attributes for running integration tests that use a database separately from "true" unit tests.

Approach

Tagged tests that require a real database:

  • db attribute with a database name cloudant and/or couch
  • couchapi attribute for tests that only run on a specific api level

Added test filtering by attributes to Travis and Jenkinsfile.
Removed test skips that can now be controlled by attributes - note there are still some other remaining test skip environment variables.

Schema & API Changes

  • "No change"

Security and Privacy

  • "No change"

Testing

  • Modified existing tests because ...

Monitoring and Logging

  • "No change"

@ricellis ricellis added this to the 2.next milestone Oct 8, 2018
@ricellis ricellis self-assigned this Oct 8, 2018
Tagged tests that require a real database:
* database name `cloudant` or `couch`
* couchapi for tests that only run on a specific api level

Added test filtering by attributes.
Removed test skips now controlled by attributes.
Added test attribute information to contributing.
@ricellis ricellis merged commit cdffb88 into master Oct 8, 2018
@ricellis ricellis deleted the test-attributes branch October 8, 2018 11:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants