An open API service indexing awesome lists of open source software.

https://github.com/than-dev/estj

EstJ is my own test lib!
https://github.com/than-dev/estj

javascript nodejs tdd test-framework testing testing-tools tests

Last synced: 7 months ago
JSON representation

EstJ is my own test lib!

Awesome Lists containing this project

README

          






EstJ





### 🍪 Description

It's a simple javascript test lib, with purpose be able people execute tests simply and fast!


### 🌉 Usage

It will find all files like it: \*.test.js, just run:

```
estj
```


- To validate the tests it uses the nodejs assert, but its globally, you do not need to require it;
- To create a test use the function it();
- You can use beforeEach, it will execute before all tests;



Example:

```
beforeEach(() => {
console.log('I am executing before a test')
})

it('should assert if 1 === 1', () => {
assert.equal(1, 1)
})
```


### 🎗️ See It

https://user-images.githubusercontent.com/82950902/136037222-80a7e85f-4bd7-4721-abe7-4d04f062627c.mp4


### 🎠 Author

Nathan Cotrim - MIT