world-scribe-2-desktop icon indicating copy to clipboard operation
world-scribe-2-desktop copied to clipboard

The code has no automated tests

Open digulla opened this issue 3 years ago • 1 comments

Describe the bug The developer team has not decided on a framework to run automated tests in. This makes contributing hard and soon, it will be too late and too messy to introduce tests. This will lead to a lot of pain and suffering which is why I'm not posting this as a feature request but a bug.

Steps to Reproduce npm test fails.

Additional context (OPTIONAL) I've had very good experience with Jest (https://jestjs.io/). It supports React and and snapshots, so that should work well for this code.

Note: Maybe the server project would benefit more from fixing this.

digulla avatar Aug 10 '21 21:08 digulla

This makes contributing hard and soon, it will be too late and too messy to introduce tests. This will lead to a lot of pain and suffering which is why I'm not posting this as a feature request but a bug.

This is a great point; I myself have run into this issue during development of the original World Scribe app on Android. To prevent this test-less-ness from becoming too entrenched in World Scribe 2, we'll consider prioritizing tests higher on the roadmap.

MarquisLP avatar Sep 11 '21 15:09 MarquisLP