Tiny test runner - following to "Build your own test runner" talk
"What I cannot create, I do not understand."
-- Richard P. Feynman
This is a very simple implementation of a test runner, which helps to understand how it works under the hood. As you might guess, a lot of the features are missing and you can add most of them yourself.
Here are some of the links we've seen at the talk:
Run the following commands from the terminal
npm install
npm test
Try to implement the following features under the current infrastructure.
before
/after
beforeEach
/afterEach
it.only
it.skip
Guidance
npm test
and let it fail.rewireGlobals
function.run
function accordingly.Good Luck! 😃
vanilla
command? - Use npm link
from the main directory.vanilla
command? - You can use npm unlink
from the vanilla directory.