Closed Stefan-5422 closed 2 years ago
Do you mean an enviroment to test the code ourselves (such as insomnia) or do you want write automated test for the whole code (Unit / Integration tests)?
Unit/Intigration tests to make this project even more overkill than it already is
So you want to write tests? Do you want to use TDD or just write tests to make sure code isn't broken / gets broken in the future?
Do you want to use TDD or just write tests to make sure code isn't broken / gets broken in the future?
Fully Test Driven Development would be too much of a pain, but I would write tests for every endpoint to just check that everything works as it should. In normal use cases
Okay, are there any frameworks / runners that work both for frontend and backend testing? Just to keep the tooling as uniform as possible across the project.
I think mocha should support both.
Looks good. Could you look into how to write simple test with mocha and other tools (probably assertion stuff and so on) both on the frontend and backend until tomorrow? Just some basic tests so we can discuss this more in-depth.
Will do.
We have not set out to use a certain testing environment for this project which one should we use