qualifys
development QA tools for App
Last updated 2 years ago by surfacew .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install qualifys 
SYNC missed versions from official npm registry.

Qualifys

Series of tools to focus on your App's code quality.

Installation

npm install -g qualifys

cd myproject/
qf init

You'll need to have Node >= 7 on your computer.

Philosophy

  • Only focus on Code quality: we want to create this tool to make more react projects testable, lintable.
  • Pick it up, and use it: we make QA process easier, you only need to install the tool and then run commands to start your QA process.

Usage

Project Initializer

qualifys init

cd ~/project/myproject
qf init

This will add .editorconfig, .eslintrc, .gitignore, .npmignore to your project folder. And add src/, dist/, test/ directory to your project if they don't exist.

Test Intergated Development

qualifys run test

Before you use test tools, ensure to install React under your project.

# react 15.x.x required
npm install react
npm install react-dom
  • qf run test to start test with Karma, Mocha, Expect.js and enzyme.
    • Test code support ES6.
    • Test code support svg loader, json loader.

We recmommend you to organize the test files under test/ directory.

By default, you have to specify a index.test.js in 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.context('.', false, /\.test\.js$/);
 testFiles.keys().forEach(testFiles);

qualifys run coverage

  • qf run cov to start generate a report of test coverage.

update

  • qf update to upgrade qualifys to the latest version.

Help

  • qualifys --help to show the commands help.

Current Tags

  • 2.1.3                                ...           latest (2 years ago)

19 Versions

  • 2.1.3                                ...           2 years ago
  • 2.1.2                                ...           2 years ago
  • 2.1.1                                ...           2 years ago
  • 2.1.0-beta.4                                ...           2 years ago
  • 2.1.0-beta.3                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.1.0-beta.1                                ...           2 years ago
  • 2.1.0-beta.0                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.0.0                                ...           3 years ago
  • 1.0.0-beta.12                                ...           3 years ago
  • 1.0.0-beta.9                                ...           3 years ago
  • 1.0.0-beta.8                                ...           3 years ago
  • 1.0.0-beta.7                                ...           3 years ago
  • 1.0.0-beta.5                                ...           3 years ago
  • 1.0.0-beta.4                                ...           3 years ago
  • 1.0.0-beta.2                                ...           3 years ago
  • 1.0.0-beta.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (34)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |