Unit Testing

TestNG Vs JUnit | Which one is the Best?

Reading Time: 5 minutes Hello Everyone, in this blog we will see the difference between TestNg and JUnit. TestNG Vs JUnit – What’s the Difference? TestNG and JUnit are two very popular terms spoken amongst the testers simply because they are used very heavily in the community. They are the most popular testing frameworks for Java applications. Both TestNG and Junit are Testing frameworks used for Unit Testing. Let’s Continue Reading

How To Perform UNIT TESTING using Mockito Framework :-

Reading Time: 4 minutes While working on a code we intend to make it functional. But it is equally important that we make sure our code works the way we intended it to. And we can achieve that by witting unit test cases. In this blog, we will cover the same by considering two testing scenarios. First, where the method is independent. Second, where it is dependent on some Continue Reading

Parameterized Tests In Junit

Reading Time: 2 minutes 1. Overview So Basically this feature enables us to execute a single test method multiple times with different parameters.In this blog i am going to explore parameterized Tests in depth ,so let’s get started 2. Dependencies In order to use Junit parameterized test first we need to add the dependencies for that if we have maven project then we need to add the maven dependencies for Continue Reading

Problems In Appium Tool Installation With Ubuntu

Reading Time: 4 minutes In this blog, we try to solve the Problems which generally people face during the Appium tool Installation with the ubuntu(Linux-based) operating system. Appium tool is an open-source, cross-platform automation testing tool, and therefore we use the Appium tool in testing native applications, mobile-web applications, and hybrid applications using a web driver. The Appium server is a script in Node.js and Appium tool is also Continue Reading

Introduction to Spock: A Unit Testing Framework

Reading Time: 4 minutes This article talks about the Spock framework. It’s a framework for writing unit test cases in BDD style.

Ten Principles For Agile Testers

Reading Time: 6 minutes In the previous blog we saw that what exactly is Agile testing and in this blog we will see in introduction to Principles For Agile Testers. What is an Agile tester? So get into the principles for Agile testers we first need to know what is an Agile tester? A professional tester who is not scared of change has knowledge about technical and business aspects Continue Reading

Agile Testing: An introduction

Reading Time: 5 minutes When we talk about Agile the first thing that pops into our mind is Agile development. But here we are going to see and learn about an introduction to Agile Testing that how testers work in Agile, the contrast between Agile Testing and development, and traditional vs. Agile approach. What is Agile Testing? In the world of software development, there are two very common terminologies, Continue Reading

How to generate AWS Signature with Postman

Reading Time: 4 minutes Hello folks, I hope you are having a productive day in this pandemic of COVID-19. Let’s move on to our next blog in the series of API automation. Most of us are doing automation using the tool Postman. So while performing automation with postman we have to integrate many other tools and APIs with Postman. Similarly to use the AWS APIs we need to create Continue Reading

Combining Gatling Reports

Reading Time: 4 minutes Hi guys, In this blog, we shall discuss about the report generation through Gatling and combining Gatling Reports. As you may already know, when we run a Gatling test the report gets generated automatically. However, you cannot compare the Gatling test report of two different tests in a single report unless you have the enterprise version of Gatling. I will try to explain an easy Continue Reading

Accessing private fields and methods using reflection

Reading Time: 3 minutes How to access private methods of a class.
You can do this by the help of reflections at runtime.

DDT with Excel in Rest Assured

Reading Time: 3 minutes We have already discussed Rest assured in some of our previous blog posts. The scope of this blog will be DDT only. DDT stands for data driven testing. It is a practice of creation of test script where test data is read from data files instead of old school hard coded values each time scripts run. This way, testers can test how the application handles Continue Reading

Mocking The Right Way

Reading Time: 3 minutes Mockito is a fun way to perform unit tests, but it’s true potential can only be realised if the underlying layers are designed in such a way that there is no interaction with the internal logic of other components of the application.

Beginners Guide for Mocking in Scala

Reading Time: 3 minutes We all must know how the unit test cases are one of the most important part of an application. If not? Then I must tell you that unit testing is one of the earliest testings which is performed on the unit of code and the earlier the defects are detected, the easier it is to fix. It reduces the difficulties of discovering errors contained in Continue Reading