Skip to content

Separate unit and integration tests #12

Open
@hansenmc

Description

@hansenmc

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions