Unit testing – Using files in unit tests
4th May 2022
Sometimes, you need to create tests that use one or more files as test data. But to make sure the files are available in the test, some additional effort is …
4th May 2022
Sometimes, you need to create tests that use one or more files as test data. But to make sure the files are available in the test, some additional effort is …
15th June 2021
Are you a programmer and have you worked with DataMiner Automation scripts before? Then our recent Q&A session about unit testing may be just the thing for you! Based on …
26th May 2021
In previous blog posts about unit testing, we illustrated how to create unit tests with MSTestv2 by marking a class with the TestClass attribute and test methods with the TestMethod …
22nd March 2021
Data-driven testing is about providing a unit test with data that is then used during the execution of the unit test. This is particularly useful in situations where you want …
3rd December 2020
In this blog post, we will talk about FluentAssertions. As mentioned in our earlier blog posts about unit testing, the third step in a unit test is the “Assert” step. …
27th November 2020
In the previous blog post of this series, we introduced the use of isolation frameworks. In this blog post, we will explain how applying the concept of dependency injection and …
13th November 2020
This article explains how to fake SLProtocol so you can easily create unit tests that have a dependency on this interface.
2nd November 2020
Suppose you are working on a protocol and you are creating a precompile QAction that contains functionality that will be used by other QActions. To ensure that the functionality provided …
22nd October 2020
In a weekly blog post during the coming months, Pedro and I will be introducing you to several tutorial videos on the basics of unit testing in protocols. This blog …