js_testing v1.0.1
About
js_testingis a JavaScript testing framework based on jest architecture.- It is build using some of
jestpackages.
I've decided to make this project to understand how jest internally works.
Thanks to Christoph Nakazawa for explaining the jest architecture as it helps me to make this project and to contribute in jest as well.
Usage
Note : Make sure you have installed node version 14+
Installation
yarn add js_testingOr
npm i js_testingAdd the following section to your package.json:
{
"scripts": {
"test": "js_testing"
}
}And all set ! now you can write basic unit tests and to run those test - run yarn test or if you are using npm then npm test.
You can able to use all Matchers and even Mock Functions of jest!

How it Works
In the below diagram i try to explaining how this packages works.Obviously it doesn't contains all things it gives you a very basic idea that how all this works.

As you can see it consist of several jest core packages. You can read more about the use of these packages here.