🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

qualifys

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qualifys

development QA tools for App

latest
Source
npmnpm
Version
2.1.3
Version published
Maintainers
1
Created
Source

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.

Keywords

qualifys

FAQs

Package last updated on 01 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts