marklogic / marklogic/marklogic-contentpump

Separate unit and integration tests

Open
#12 2 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

bug minor mlcp verify
Dominant language
Java
Stars
37
Forks
32
Avg merge
1h 3m
Merged PRs (30d)
12

Description

The current set of tests function mostly as integration tests that require a live instance of MarkLogic, and take ~15 minutes to run.

  • Unit tests should run quickly, and not rely on external systems.
  • Mock objects should be used in place of a live database for unite tests, or the test should be moved into an integration test suite.

It would be helpful, and make it easier for contributors, if the tests and build were organized to facilitate separate execution of unit tests and integration tests. This would also make it easier to integrate with CI services, such as Travis CI and/or Circle CI without having to exclude the test phase.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.