Home Tags Privacy About

All posts tagged with "Testing"

These are all my posts on (automated) software testing such as unit, integration and system tests. It also contains posts on specific testing frameworks.

Page 1 of 2 Older Posts →

Blackduck synopsys scan script no longer working and returns 404 as of March 2023

Is your synopsys scan no longer working as of the 1st of March 2023? Well it is because it is no longer there (404). It has »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Testing 07 March 2023

C# - NSubstitute, how to mock and match a call that takes a list of items as a parameter

NSubstitute is a great framework for mocking objects for tests. I recently had an unexpected behaviour when stubbing a method call. For this simple example we »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, Testing 21 October 2022

Nsubstitute Error - NSubstitute.Exceptions.CouldNotSetReturnDueToNoLastCallException : Could not find a call to return from

If you see the following error: > NSubstitute.Exceptions.CouldNotSetReturnDueToNoLastCallException : Could not find a call to return from. You are likely trying to mock a method »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Testing, C# 17 May 2022

C# - How to mock or stub a class without an interface

Sometimes you come across a class that you need to stub or mock but it does not have an interface. The easiest way is of course »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Testing, C# 15 May 2022

C# - How to setup WebApplicationFactory in .Net 6 without a startup.cs file

Prior to .Net 6 you would have a startup.cs class to set up your asp.net application. In .Net 6 the standard is now to »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Testing, C# 05 February 2022

C# - How to set priority for wildcard request matching in Wiremock.Net

If you are on this page you likely created a wildcard endpoint and now you want to respond differently to a request, but keep the wildcard »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Wiremock, Testing 12 September 2021

C# - How to set up scenarios with Wiremock - with examples

Sometimes we want more than just a simple stub from wiremock, sometimes we want to create a scenario. We want Wiremock to do something different when »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Wiremock, Testing, C# 08 September 2021

C# - How to match a specific header in Wiremock.Net

Using Wiremock.Net you can set a requestmatcher to only match a request if it contains a specific header with a specific value, in this post »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Wiremock, Testing, C# 07 September 2021

C# - How to match a path with a wildcard in Wiremock.Net

In many cases you want some sort of wildcard in your URL matching for Wiremock.Net. Most REST URLs contain an id, especially at the end »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Wiremock, Testing, C# 05 September 2021

C# - A simple guide to setup Wiremock.Net for integration tests

Are you looking for a simple guide for setting up Wiremock.Net? Well I hope this can be helpful to you :) I did this yesterday as »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Testing, Wiremock, C# 02 September 2021
Page 1 of 2 Older Posts →
  • Rss
  • Twitter
  • LinkedIn
  • profile for Peter Rasmussen at Stack Overflow, Q&A for professional and enthusiast programmers
Peter Daugaard Rasmussen - developer, Consultant, Blogger © 2025 Privacy policy