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 …
In a discussion with a former colleague of mine on the organization of components and on system boundaries, we focused on the complexity inherent to software building. It hit me that we can learn from physics here.
The law The first law of thermodynamics states that
A “You sure you want to do this?” confirmation when you attempt to run a query that contains a destructive update (delete/update) without a where clause. With the hoards of database tables getting wiped in the world, why hasn’t this been implemented yet? This feature would remove a lot of fear of pressing F5.
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 …
Simple in hindsight, yet it took me a while to craft the correct search terms to come up with this solution. I can’t even find that forum post now, so hopefully this entry will save someone else some time.
In a lot of solutions there exists a base class that would take the inheritor as a type reference to be able to do some work on it - …
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.
NGenerics 1.3 has finally reached production status - you can download it here .
With it released, we can start working on some exciting new features for 1.4. Watch this space!
Photo by Lewis Ngugi on Unsplash