KenEucker / quasar

a Quick, Usable, And Simple; Application Runtime
https://keneucker.github.io/quasar/
The Unlicense
0 stars 0 forks source link

Implement a testing suite for the codebase #25

Open KenEucker opened 6 years ago

KenEucker commented 6 years ago

Proposed solution: This could also be used to test imported quasars for code quality.

What's happening: There is no testing.

What I expect to happen: Code should be testable if it is an npm module. All development after the 1.0 on this project should be TDD.

KenEucker commented 6 years ago

As #30 gets developed we could consider adding a testing shim that turns logDebug statements into methods that include testing scaffolding like asserts. This would allow developers to create logDebug statements as assertions that log success or failure to the console and logFile and is also leveraged when running tests against code, both custom and lib.