2.2.1 • Published 7 years ago

testen v2.2.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

testen NPM version NPM downloads

Run tests for multiple versions of Node.js in local env.

preview

Install

You should have nvm and node >= 4 installed.

$ npm install -g testen

Usage

$ testen

This will run npm test script, if .travis.yml or circle.yml exists, use node versions in it. Otherwise use preset node versions.

Sometimes you wanna override these node versions, just pass -n to do this:

$ testen -n 0.10 -n 0.12

# use system default node version
$ testen --system

Read Node.js versions from package.json

{
  "testen": {
    "node": ["0.12.0", "5", "4.2.4"]
  }
}

Read test command from package.json

{
  "testen": {
    "test": "npm run test:custom"
  }
}

CLI

$ testen --help

Usage:

  --system:             Use current node version
  -n/--node [version]:  Add a node version to test
  -s, --sequence:       Run tests in sequence
  -- [command]:         The test command you expect
  -V/--verbose:         Always output everything
                          ~ example: there are `console.log` in test

License

MIT © EGOIST

2.2.1

7 years ago

2.2.0

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.8.2

8 years ago

1.8.1

8 years ago

1.8.0

8 years ago

1.7.0

8 years ago

1.6.1

8 years ago

1.6.0

8 years ago

1.5.0

8 years ago

1.4.7

8 years ago

1.4.6

8 years ago

1.4.5

8 years ago

1.4.4

8 years ago

1.4.3

8 years ago

1.4.2

8 years ago

1.4.1

8 years ago

1.4.0

8 years ago

1.3.0

8 years ago

1.2.0

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.16

8 years ago

1.0.15

8 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago