We use the mocha test framework and should assertion library to test mdlint. In addition we use sinon to spy on and mock methods. To lint the source code and run the test suite, enter the following command:
grunt
There are integration tests located in this file which verify that the html files were created as expected, and unit tests in this file which verify the logic implemented in library methods.
The goal is to add any new features into the integration test file and add any changes to library method logic to the unit test file.