Parameterize Tests in Rust: rstest

This post will discuss how to parameterize tests in Rust. Qxf2 likes the fact that Rust makes testing a first class citizen of the language. It provides a test runner out of the box. However, coming from Python land, we missed one feature – test parametrization. So went about looking for crates that could help. We have found rstest to […]

Android unit testing: Android testing framework and Robolectric

Problem: There are not many good tutorials on Android unit testing Android applications are written in Java. So you probably think if you know JUnit, you can unit test Android applications. Surprise! JUnit is not sufficient for unit testing Android applications. Junit works when the code runs within a JVM. Android applications interact with the Android OS. So you need […]

Python unit test integration with Jenkins

Problem: Jenkins is still somewhat of a black box to testers. This post is for the hands on tester looking to integrate their Python unit tests with Jenkins. Why this post? Jenkins is an extremely popular continuous integration tool. Jenkins is often setup and maintained by the development team or I.T. team in many companies. Testers know about Jenkins but […]

JUint Asserts and Matchers

Problem: JUnit tutorials are often written by testers with a reasonable amount of unit checking expertise Why this post? There are plenty of JUnit tutorials available online. They are often written by testers with a reasonable amount of unit checking experience. The problem is that experts and beginners see things differently. I began noticing that beginners often read these JUnit […]

JUnit: For beginners by a beginner

Problem: JUnit tutorials are often written by testers with a reasonable amount of unit checking expertise Why this post? There are plenty of JUnit tutorials available online. They are often written by testers with a reasonable amount of unit checking experience. The problem is that experts and beginners see things differently. I began noticing that beginners often read these JUnit […]

Python unit tests using mock

Problem: Introductions to Python unit checking are too basic This post is for the hands on tester looking to practice their unit checking skills. Why this post? Unit checks are good. They play an important role in your regression suite. Online tutorials of Python unit checks invariably leave me wanting more. The examples covered are extremely basic. Further, these basic […]