AboutThis blog is mostly about my work, but expect an occasional home project, productivity tip and tooling review.
Most used tags
Tag Archives: xunit
Last week recap and links: Fun with json and trello in powershell where Jamie shows how to have fun with invoke-restmethod and some trello API stuff Xunit Test Patterns is where to look for unittest best practices. Nuget must haves … Continue reading
When we configure nServicebus to run with multiple thread (MaximumConcurrencyLevel) sometimes duplicate records are inserted. This happens when the endpoint has been down for maintenance and the queue has filled up with messages. Repro This is not ideal, but can … Continue reading
Finally got the hang of partial s(t)ubs with nsubstitute. The key is that the original method is called when setting up the sub. To avoid this use argument matchers and the DoNotCallBase() method. Property To test/setup the property to return … Continue reading
Last week recap an links: Found this awesome tool Service Bus MQ Manager for managing my NServiceBus MSMQ. Helped the xunit team with a visual studio online exception by blogging about it here This weeks Evernote pick was CloudMagic. Ever … Continue reading
Our builds succeed with warnings. After investigation of the output we noticed failing unit tests. But local they run fine. Here’s what we did to troubleshoot and fix the issue. First we downloaded the build output from the drop location. … Continue reading