0.9.0 • Published 4 years ago

@mutant-ws/tape-ui v0.9.0

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
4 years ago

CircleCI npm version

WIP: Tape UI

Terminal UI for Tape test runner

Tape UI


Features

  • Terminal UI with VIM shortcuts - neo-blessed and react-blessed
  • Test files run in separate workers
  • Auto run only relevant tests based on file changes

Install

npm i --save-exact @mutant-ws/tape-ui

Use

Add script in package.json

{
  "scripts": {
    "tdd": "tape-ui -r @babel/register -p src -g '**/*.test.js'",
  }
}

Develop

git clone git@github.com:mutant-ws/tape-ui.git && \
  cd tape-ui && \
  npm run setup

# run tests (any `*.test.js`) once
npm test

# watch `src` folder for changes and run test automatically
npm run tdd

Commit messages

Using Angular's conventions.

<type>(<scope>): <subject>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>
BREAKING CHANGE: Half of features not working anymore
  • feat: A new feature
  • fix: A bug fix
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
  • refactor: A code change that neither fixes a bug nor adds a feature
  • perf: A code change that improves performance
  • test: Adding missing or correcting existing tests
  • chore: Changes to the build process or auxiliary tools and libraries such as documentation generation

Changelog

See the releases section for details.