Note to self since I spent a frustratingly long time on this. To analyse your .NET Core project with Sonar on Linux (using Travis in my case since it’s an open source project), you need the following:
Have a machine with Mono and .NET Core installed Download the MSBuild Sonar Analyzer and ensure that the scripts are executable Execute it with …
I’m an avid believer in testing - TDD helps drive design, and having a test suite available to verify behaviour while maintaining an application is worth a million bucks. Even the most complete unit test suite still doesn’t guarantee that the integration between different components is correct, nor does it test the value a system …
Background: We’ve started a weekly patterns & practices meeting at work with some of our senior developers where our discussions and actions will hopefully bring some improvement to the current development environment. Once a week one of us has an opportunity to showcase a new topic – much akin to knowledge transfer session but more …
I’ll say it once more - it’s not worth it.
Let it go. Your aim should be at about 70% code coverage - as long as you know in your hearts heart that you have tested that you should have.
I’m one of the converted when it comes to test-driven development. One of the main “aha” moments for me is not to write unit tests - it’s writing testable code. Any code that’s testable is sure to be of a higher quality and easier to maintain than typical spaghetti code.
That brings me to the second part of the title - …