Skip to content

Unit testing

Image of test tubes in a lab

How to run tests at release pipeline

I have been recently contacted a couple of times about same thing: How to run .NET tests in release pipeline? The answer isn’t actually that simple. It requires some decision making and pipeline workout to get it running.

In this post I’m going to walk through how to run XUnit (or NUnit/MSTest) tests in release pipeline and report test results so, that they are shown at Tests tab after finished …

Mock Cassandra (actually ScyllaDB) in C# unit tests

I have been lately working a lot with high throughput database called ScyllaDB. ScyllaDB is a Cassandra compatible, open source, nosql data store, which is accessed with Cassandra database drivers. It has higher throughput, lower latency and smaller memory footprint than Cassandra mainly because it is written in C++, not on top of JVM like Cassandra.

Unit testing classes that access database at somepoint can be a pain in the …