flask-suite
v1.0.0
Published
An extensible testing suite for the JavaScript ecosystem.
Downloads
14
Maintainers
Keywords
Readme
I have always been a big, big fan of test-driven development, and I would like to recommend all developers, independant or enterprise to integrate it into your workflow. I hope my suite will be of some use by bringing a very flexible yet easy to use API to the TTD field.
Upon first running the suite, you will most likely see a message along the lines of: Flask.js - Successfully generated flask.config.js file.. When you see this message, you are ready to start setting up your test suite.
function run() {
const myTestVariable = "Hello, world!";
return (myTestVariable == "Hello, world!")
}
exports.default = run;
Upon running this code, this test will succeed. You can also make use of the built-in @flask/flask-globals library, this libary provides useful assertions to hopefully make your life easier. Please keep in mind that any test which errors in the suite will automatically assume itself as 'failed'