This page shows the posts published with the category 'Tools'

Computing code coverage for a .NET Core project with Azure DevOps and Coverlet

Creating automated tests is important to be sure your application behaves as it should. The more tests you write, the more use cases are covered. Sometimes it can be hard to know which parts of the application are well tested, and which ones are not. That's why code coverage is interesting. It can be a useful measure to detect potential risk areas in the application (i.e. the most complex methods with the… [read more]

Caching http requests for faster debugging

When working with an http service, you have to do lots of http requests to the server. This may slow down your tests/debugging experience. There are multiple ways to handle that issue. The first one is to mock the calls and work with fake data. You can easily mock the HttpClient class in C# (see Mocking an HttpClient using an HttpClientHandler), but this requires to do that for each projects and to create… [read more]

How to create a good bug report using Problem Steps Recorder

As a user, it's hard to explain an issue you have with a software. How to explain the problem to a developer who isn't next to you? A developer needs to know exactly how to reproduce your issue and fix it. As a developer, you know the users are not very good to explain their problems and you have to deal with incomplete explainations, so you have to guess a few steps. Problem Steps Recorder (PSR) is a… [read more]

Tip: Download Sysinternals tools from the console

Here's a nice tip to download all the Sysinternals tools in 3 command lines. You know all those awesome tools such as Sysmon, Process Explorer, Process Monitor, bginfo, and so on. net use x: \\ xcopy /s x:\ c:\sysinternals\ net use x: /d If you just want to use a tool from time to time, you don't need to download them all. Instead, you can open the Run window (Win+R) and enter the… [read more]