1.1.1 • Published 3 years ago

ready-test v1.1.1

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

ReadyTest

Because JS unit testing shouldn't be complicated.

Install

npm install ready-test

Browser

To get up and running in the browser, link the included CSS/JS:

<html>
  <head>
    <link rel="stylesheet" href="node_modules/ready-test/ready-test.css">
  </head>
  <body>
    <script src="node_modules/ready-test/ready-test.js"></script>
  </body>
</html>

Then link your source files and tests:

<html>
  <head>
    <link rel="stylesheet" href="node_modules/ready-test/ready-test.css">
  </head>
  <body>
    <script src="node_modules/ready-test/ready-test.js"></script>
    <script src="src/user.js"></script>
    <script src="test/userTest.js"></script>
  </body>
</html>

Node

To run in node, simply run the shell command provided:

./node_modules/ready-test/bin/readytest

It will find and run any tests like test/userTest.js, test/tests/user.js, etc. You can also add it to your package.json file to run with npm test:

{
  "scripts": {
    "test": "readytest"
  }
}

Docs

http://andrewplummer.github.io/ready-test/

1.1.1

3 years ago

1.1.0

4 years ago

1.0.44

4 years ago

1.0.43

4 years ago

1.0.42

4 years ago

1.0.41

4 years ago

1.0.40

4 years ago

1.0.39

4 years ago

1.0.38

4 years ago

1.0.37

4 years ago

1.0.36

4 years ago

1.0.35

4 years ago

1.0.33

4 years ago

1.0.34

4 years ago

1.0.32

4 years ago

1.0.31

4 years ago

1.0.30

4 years ago

1.0.29

4 years ago

1.0.28

5 years ago

1.0.27

5 years ago

1.0.26

5 years ago

1.0.25

5 years ago

1.0.24

5 years ago

1.0.23

5 years ago

1.0.22

5 years ago

1.0.21

5 years ago

1.0.20

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago