#devtesting

Prakhar Mishraprakhar@hachyderm.io
2023-04-26

How would you classify a #unittest vs #integrationtest vs #systemtest? Usually, what I do is, setup the test for a class / struct, mock the dependencies and call the methods of struct with test input.

Although there is one #testcase I like to write with mocking just the external services, and using internal code without mocking.

Let me know how you prefer doing #devtesting.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst