[GH-ISSUE #7] Which testing environment #6

Closed
opened 2026-09-04 00:21:30 +02:00 by Stone_Red · 8 comments
Owner

Originally created by @Stefan-5422 on GitHub (Oct 17, 2021).
Original GitHub issue: https://github.com/detleph/server/issues/7

Originally assigned to: @stephan418 on GitHub.

We have not set out to use a certain testing environment for this project which one should we use

Originally created by @Stefan-5422 on GitHub (Oct 17, 2021). Original GitHub issue: https://github.com/detleph/server/issues/7 Originally assigned to: @stephan418 on GitHub. We have not set out to use a certain testing environment for this project which one should we use
Stone_Red added the documentationenhancement labels 2026-09-04 00:21:30 +02:00
Author
Owner

@stephan418 commented on GitHub (Oct 17, 2021):

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)?

<!-- gh-comment-id:945079009 --> @stephan418 commented on GitHub (Oct 17, 2021): 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)?
Author
Owner

@Stefan-5422 commented on GitHub (Oct 17, 2021):

Unit/Intigration tests to make this project even more overkill than it already is

<!-- gh-comment-id:945082494 --> @Stefan-5422 commented on GitHub (Oct 17, 2021): Unit/Intigration tests to make this project even more overkill than it already is
Author
Owner

@stephan418 commented on GitHub (Oct 17, 2021):

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?

<!-- gh-comment-id:945100186 --> @stephan418 commented on GitHub (Oct 17, 2021): 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?
Author
Owner

@Stefan-5422 commented on GitHub (Oct 17, 2021):

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

<!-- gh-comment-id:945104606 --> @Stefan-5422 commented on GitHub (Oct 17, 2021): > 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
Author
Owner

@stephan418 commented on GitHub (Oct 17, 2021):

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.

<!-- gh-comment-id:945105983 --> @stephan418 commented on GitHub (Oct 17, 2021): 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.
Author
Owner

@Stefan-5422 commented on GitHub (Oct 17, 2021):

I think mocha should support both.

<!-- gh-comment-id:945106945 --> @Stefan-5422 commented on GitHub (Oct 17, 2021): I think mocha should support both.
Author
Owner

@stephan418 commented on GitHub (Oct 17, 2021):

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.

<!-- gh-comment-id:945109603 --> @stephan418 commented on GitHub (Oct 17, 2021): 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.
Author
Owner

@Stefan-5422 commented on GitHub (Oct 17, 2021):

Will do.

<!-- gh-comment-id:945109855 --> @Stefan-5422 commented on GitHub (Oct 17, 2021): Will do.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: detleph/server#6