joshtest
v1.0.0
Published
A testing framework to test as simple as slepping.
Downloads
1
Maintainers
Readme
joshtest
What is joshtest
Joshtest is a library which is used to test in a very simple way.
For running a test in joshtest, you will need:
- Importing the library (TypeScrit) or require() it.
- Create a TestSuite object.
- Create at least one Test object and add the object(s) to the TestSuite.
- TestSuite object has a run method that runs the test.
To prepare a function for testing...
... the parameters must be only ONE parameter of type object
For contributing, please do:
- Clone the repository.
- Run npm install.
- Go into src folder and add or edit code
- Run build (npm run build)
- Run test (npm run test)
- Make a pull request! Important: If you're creating a file or folder that has to be ignored, please edit the .gitignore file too!
