Series of tools to focus on your App's code quality.
npm install -g qualifyscd myproject/qualifys init
You'll need to have Node >= 4 on your machine. We recmommend you to use Node stable version as v4.4.x to use this QA tool.
cd ~/project/myprojectqualifys init
This will add
.npmignore to your project folder. And add
test/ directory to your project if they don't exist.
Before you use test tools, ensure to install
React under your project.
# react 15.x.x requirednpm install reactnpm install react-dom
qualifys run testto start test with
qualifys run test -f 'test/testfile.js'to start test with selected entry point.
We recmommend you to organize the test files under
By default, you have to specify a
index.js under the
test/ directory to declare which test files are going to be run.
/*** only require other test-files here* include all of the files with form of *.test.js*/const testFiles = require;testFiles;
qualifys run coverageto start generate a report of test coverage.
qualifys run lintto start lint code and generate a lint report.
qualifys --helpto show the commands help.