Testing

Introduction to Jenkins

Reading Time: 5 minutes What is Jenkins Jenkins is a powerful application that allows continuous integration and continuous delivery of projects, regardless of the platform you are working on. It is a free source that can handle any kind of build or continuous integration. You can integrate Jenkins with a number of testing and deployment technologies. How Jenkins work? Below point explains the work flow of jenkins: 1) Developers Continue Reading

Upgrading to Selenium 3 with Gecko Driver

Reading Time: 2 minutes In this blog I will be discussing about the latest version of selenium i.e Selenium 3 . To use selenium 3 , we need Gecko driver to run the test cases in Mozilla browser. So,the first question that arises in our mind is “What is Gecko?”  Gecko is the name of the layout engine developed by the Mozilla Project. … Gecko’s function is to read Continue Reading

Jmeter Data Extraction from File

Reading Time: 2 minutes When we talking about Performance Testing, Some time we faces the scenario like we have to extract data from file. Extraction data from file is very important part of performance testing. In this blog, we will learn Data Extraction from File using Jmeter. First of all we will create a .xlsx file. which consist our test data. Now we open the jmeter and make a Continue Reading

Testability of Database Applications

Reading Time: 2 minutes Testability Testability is a non-functional requirement important to the testing team members and the users who are involved in user acceptance testing. Testability is mainly depends on the degree on which software team works like SRS (software requirement specification) FRD (Functional Design document) Software system, etc. Support testing for the software application under test. Minimum number of test cases that covers the entire testing scope Continue Reading

Mocking Mail API in Scala

Reading Time: 2 minutes Few days ago I was working on a Mailing API of my project and used javax-mail API but encountered the problem of how to write unit test cases for that without actually mocking the mail. I searched for it but was unable to find a proper documentation about mocking a mailing service. I tried few methods but some were confusing and some were really complex. Then I Continue Reading

Testing grammar using ANTLR4 TestRig (Grun)

Reading Time: 5 minutes “Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” –Martin Golding Quotes like above tell us the importance of testing the modules that we develop. Testing for different languages is done using various tools for example JUNIT for java, FunSuite for scala and TestRig (grun on command line) for grammar(.g4). In this Continue Reading

Integration Test Configuration in Play Framework

Reading Time: < 1 minute A few days ago I’ve come across a problem while writing integration testing of my play application. My need was like to run unit and Integration test separately, in a normal sbt project, it’s easy to configure it, but I couldn’t find proper documentation about how to do this in play application, because there are difference in the folder structure in both of them. The reason why I wanted Continue Reading

How to write test-case for Scala.js application

Reading Time: < 1 minute Few months ago, I created a web application ‘Weather Report‘, based on Scala.js.  In this blog, I have explained how we can test our Scala.js application. Since I am still exploring it, so I took help from scalajs-tutorial.  I have used µTest as testing library. // uTest settings libraryDependencies += “com.lihaoyi” %%% “utest” % “0.3.0” % “test” testFrameworks += new TestFramework(“utest.runner.Framework”) Here is example of test-cases: def tests = Continue Reading

How To Handle CSRF Token in Jmeter

Reading Time: 2 minutes What is CSRF– CSRF  stands for Cross-Site Request Forgery. Generally when we login in website it always ask for authentication. For the security point of view developer mostly time pass the csrftoken with login parameter. but our topic is how to handle this csrf token in jmeter. when we do load testing using jmeter and if we not handle the csrf token we get this Continue Reading

Customized Response Time in Gatling Report

Reading Time: 3 minutes Gatling is a highly capable load testing tool which gives high performance. Some times we face problem in customization response time for our application. In this Blog we will analyse how can we customize response time in Gatling. In Global Information Section In graphical format,this Section Displays the Number of Requests captures in the given Load testing. Every requests are displays according to their Response Continue Reading

TestNG

Reading Time: 2 minutes ‘TestNG is a testing framework which is inspired by junit. It is the latest framework of selenium. it gives to complete freedom to write the testcases in group or dependent to the other method. NG  stand for ‘NEXT GENERATION’. testing of next generation. TestNG gives the lot of advantage over the other testing framework. 1-we  can run the parallel test cases using TestNG. 2-It gives Continue Reading

Configuring SonarQube with Scoverage plug-in : The Complete Guide

Reading Time: 4 minutes This blog will guide you through the successful configuration of Scoverage plug-in with SonarQube for Scala source code statement coverage analysis. How Does it Work? The Scoverage plug-in for SonarQube reads the report generated by sbt scoverage plug-in and generate several reports like Statement Coverage % Analysis Lines covered by test Drilling down report to the file level The greatest advantage of SonarQube is the Continue Reading