Testing

Basic Introduction to Unit Testing in Angular

Reading Time: 6 minutes What is Unit Testing? Unit testing is testing a unit in an isolated environment. A unit can be a class, component, service, directive module, etc. which can be logically separated from the software. Any unit in an app is not isolated, it’s quite normal that it will be depending on the other units in an application for resources like data or methods. So if we Continue Reading

Data driven testing using karate DSL

Reading Time: 3 minutes In the previous blog, we saw that we can integrate our test cases with Jenkins. Now, in this blog, we will see how we can achieve data-driven testing using karate DSL. What is DDT? DDT or data-driven testing is an technique in which we read the data from a table or an excel sheet or a CSV file (or any external file), and take them Continue Reading

Dashboard Report Generation with Cypress

Reading Time: 3 minutes In our previous blog we talked about mocha reports, and in this will continue on the same topic report generation with cypress. The only difference is that here we will talk about the Dashboard Report Generation with cypress.So you guys may be thinking why do we need to configure the dashboard, if we can generate report with Mocha report generators?Just wait for a few mins, Continue Reading

karate DSL : POST and GET API calls

Reading Time: 3 minutes In the previous blog, we saw how we can set up a project in karate DSL and saw the folder structure in this blog we will see how to make POST and GET API calls and how it can be automated using karate DSL. First, we need to create a .feature file where we will write our test cases. We have already seen the file Continue Reading

Integration Of Cypress with jenkins

Reading Time: 3 minutes Hello everyone, I hope you all are safe and sound, as in my previous blog we have already covered some frontend and backend testing scenarios with cypress. In this blog, we will talk about the Integration of Cypress with Jenkins. So, the agenda of this blog will be like: Jenkins Installation (Ubuntu) Integration Of Cypress with Jenkins Execution with Jenkins Jenkins Installation: For installing Jenkins Continue Reading

Jenkins Integration using Karate DSL

Reading Time: 2 minutes In the previous blog we saw how we can use karate DSL and read data from external files. Now, in this blog we will see how we can have Jenkins integration using karate DSL. Requirements Jenkins JDK karate project Setting up Jenkins We will be using a maven project and a java class to execute our test. In order to do that we will be 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

Karate DSL : Getting started

Reading Time: 4 minutes Hello guys, this is a short blog on how to setup a maven project in karate DSL and small introduction to it’s directory and file structure. So let’s start with, Why should we use Karate DSL? Karate DSL is an open-source framework that can be used for API testing, front-end UI testing, and performance testing as well. The main advantage of karate is that it Continue Reading

Running postman collections using Newman in Jenkins

Reading Time: 3 minutes We can write the automation test suite for any service which can be used for performing regression testing. But we can also integrate our automation test scripts using Newman in Jenkins CI/CD pipeline which can be triggered automatically whenever a pull request gets merged. We need software installed on our system locally: Jenkins Node NPM Postman (For writing the collection) Files for execution Firstly create Continue Reading

Table Driven Testing in Scala

Reading Time: 3 minutes As a software developer, I ensure to write unit tests for the code which I write (and at times the missing unit tests for the existing code). My aim has been to ensure to cover all the cases that arise out of the code written and therefore I face challenges in this too. Because of my endeavour to write a sufficiently strong test suite for Continue Reading

Finding elements using Appium Inspector

Reading Time: 4 minutes In the previous blog, we had seen how we can install Appium on our local system. So in this blog, we will see how we can use Appium inspector and find different types of elements in them. So lets first see why we require Appium inspector? Why Appium Inspector? Testing a mobile application and a web application is different from one another. The main difference 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.