#arcaneSpaghetti

2025-08-29

I started the process of setting up dependency injection in a legacy enterprise app to be able to unit test it.

I've not had to do much with #moq before, but it's fairly intuitive once it clicks. For #arcaneSpaghetti written by wizards of old, you can assert that a specific mocked function was called once with a specific set of arguments, and then confirm it hasn't been called at all with others.

Found 11 distinct and very old bugs from these runs.

Client Info

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