4.0.0 • Published 5 years ago

test-sweet v4.0.0

Weekly downloads
50
License
ISC
Repository
github
Last release
5 years ago

Sweet Test Framework

This is a sweet as javascript test framework.

Setup

First install the package globally

npm install -g test-sweet

To use in a local project, if the project hasn't been initialised:

npm init

Then install locally in the root of your project

npm install test-sweet

Put test files in a folder called spec in your project root

Ensure your test files end with spec.js or test.js

Add at the top of each test file: require('test-sweet')

To run tests in the terminal run:

sweet

## Descriptors

represent
describe
method
it

Assertions

expect
allow

Matchers

toEqual
toInclude
toBeGreaterThan
toBeLessThan
isInstanceOf

Contributors

Alfie Freeman Robin Johnson

License

ISC

4.0.0

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.0.8

5 years ago

2.0.7

5 years ago

2.0.7-0

5 years ago

2.0.6-0

5 years ago

2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.0

5 years ago