Ken Bonny
Ken Bonny's Blog

Ken Bonny's Blog

Follow
homeMore Than Codebadgesnewsletter
Tag

Testing

#testing

More content

Read more stories on Hashnode


Articles with this tag

Injecting AutoMapper profiles in tests

Jan 15, 20182 min read

In the newer services at my client, AutoMapper is used to map DTO's to database objects and back. Because mocking a mapping isn't obvious, a lot of...

Injecting AutoMapper profiles in tests

Comparing a PDF to a golden master

Nov 13, 20173 min read

To create a report, I had to combine the contents of several PDFs into one. Thanks to iTextSharp, it's really easy. Then I had the problem, how do I...

Comparing a PDF to a golden master

Resharper shadow copies assemblies before test runs

Oct 30, 20172 min read

While writing an XML parser I customised, my unit tests all failed with an error message along the lines of "Could not load file...

Resharper shadow copies assemblies before test runs

Partially applying TDD doesn't work

Jun 5, 20173 min read

In my current job, I've heard dismissive talk about testing. Along the lines of "well, that's cute that you did that, now get back to work". Work...

Partially applying TDD doesn't work

Creating a custom xUnit [Trait]

Dec 20, 20165 min read

After creating my blog posts on writing tests with xUnit in a TDD fashion, I remembered I had only briefly touched upon Traits and not at all how to...

Creating a custom xUnit [Trait]

Tests ran multiple times on the CI server

Dec 7, 20161 min read

A while ago, colleagues and I encountered strange behaviour on our Continuous Integration server: several tests were run twice. The problem was caused...

Tests ran multiple times on the CI server