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!
- Host: GitHub
- URL: https://github.com/than-dev/estj
- Owner: than-dev
- License: mit
- Created: 2021-09-28T11:26:51.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-12T02:24:46.000Z (over 3 years ago)
- Last Synced: 2025-03-28T19:07:40.305Z (12 months ago)
- Topics: javascript, nodejs, tdd, test-framework, testing, testing-tools, tests
- Language: JavaScript
- Homepage:
- Size: 34.2 KB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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