mbrkdev / sylph

File system based server router
Apache License 2.0
3 stars 1 forks source link

Add testing! #23

Open mbrkdev opened 5 years ago

mbrkdev commented 5 years ago

Is your feature request related to a problem? Please describe. Currently the project has no automated testing built in, though stability has been improving I would like to implement a full range of tests to ensure there are no regressions or unexpected behaviour with new commits.

Describe the solution you'd like I want tests to be added as part of the Sylph 3 update, covering every feature of the project.

Ideally these tests will use one of the common testing frameworks and not be home grown. AVA is my personal preference but I'll explore other testing frameworks in advance.

Describe alternatives you've considered AVA, Jest, Mocha

Additional context Tests are more than just handy to ensure code doesn't break, they provide general stability, force you to evaluate the way the code is structured and how the logic flows.

Possibly more important than any of that, they allow people interested in using the platform to explore Sylph with confidence.

mbrkdev commented 4 years ago

Decided Jest best for this case, will start updating core with tests and deploy prevention soon