Home » Unit Testing

Tag Archives: Unit Testing

Mock GRPC Services for Unit Testing

On our day to day work we develop applications that include interactions with software components through I/O. Can be a database, a broker or some form of blob storage. Take for example the Cloud Components you interact with: Azure Storage Queue, SQS, Pub/Sub. The communication with those components usually happens with an SDK. From the start testing will kick in, ...

Read More »

Parameterized tests in JavaScript with Jest

Parameterized tests are used to test the same code under different conditions. One can set up a test method that retrieves data from a data source. This data source can be a collection of objects, external file or maybe even a database. The general idea is to make it easy to test different conditions with the same test method to ...

Read More »

Unit Testing vs. Integration Testing: Key Characteristics and Benefits

Accurate testing of an application determines its performance, usability, and reliability. While testing is an integral part of the software development life cycle, there is no simple way to get it done in one go. Every software product goes through a series of testing by developers and a dedicated team of testers. These tests are carried out to determine how ...

Read More »

Python Tips: On Getting Started, Unit Testing and Code Coverage

tl;dr Here is a collection of useful Python tips, a starter “Hello World” Python template for both web (using Flask) and stand-alone script. And additional tips in writing effective Python code, getting started, Unit Tests and using the Coverage tool to improve code. Getting Started – Introducing “Python Hello World” Template Sometimes when we need to get started in Python, ...

Read More »

Unit testing of ADF Application using JUnit

JUnit is a unit testing package for Java language and can be used to test Oracle ADF application as ADF is built on top of the J2EE framework. Unit testing is basically is a process to verify the smallest testable module against some defined test criteria. Here I am going to illustrate that how can we set up and use ...

Read More »

Testing OpenLiberty with Arquillian (Remote)

Having heard many great reviews, I thought I’ll give Open Liberty a try. In this post, I shall discuss the following: Setup of Open Liberty Setup JDBC connection Setup Arquillian Testing REST endpoint Installing Open Liberty At the time of writing, I am using Open Liberty 18.0.0.1, and I am using Java SE 1.8.0_172 (P.S. Keen to move on to ...

Read More »