The makefile is located in the root directory and is used, among others, to launch tests, to generate the documentation, to check that the coding rules are respected.
# Node modules installation
Download, compile and configure the modules that are necessary for the application to run.
# Mocha tests
Runs all the non-regression tests. It is a simple way to ensure that ezPAARSE is correctly working.
The test files are located in the
test/ folder and all the filenames follow the pattern, finishing with
Note : don't forget to restart the application if the source code has been modified.
Checks that the knowledge base files used by the parsers are well formed and coherent.
Checks that the knowledge base files used by the parsers are well formed and coherent with a detailed output.
# Checking coding rules
The coding rules can be modified with a configuration file (
.eslintrc). All the options are documented on the ESLint page (opens new window).