This guide is intended to show how to unit test MarkLogic applications using the marklogic-unit-test framework.
I’d intended to do this as a course on a training sites, but that wouldn’t be useful until it’s done. Instead, I’m going to start putting materials online here. Please understand this is a work in progress (sections below without links have not been written yet). Feedback is welcome.
Rough outline:
- Testing Introduction
- Integrating marklogic-unit-test into your project
- Best practices for writing tests
- My test fails — now what?
- Test-Driven Development
- Examples
- Security
- Continuous Integration