Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 960 Bytes

README.md

File metadata and controls

57 lines (37 loc) · 960 Bytes


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

1632971516055.mp4

🎠 Author

Nathan Cotrim - MIT