kieler / klighd-vscode

Eclipse Public License 2.0
8 stars 6 forks source link

Unit testing framework #128

Closed Eddykasp closed 1 year ago

Eddykasp commented 1 year ago

This PR demonstrates how we can add Unit tests to the project that can be executed with yarn test. Tests need to be placed in a tests directory in either the klighd-core or klighd-interactive package.

By having a testing infrastructure in place we might encourage more test-driven development in the future.

I've included a few tests already as examples to show how and where tests can be written.