Testing

Solr With Scala : Basic Introduction to Embedded Solr

Reading Time: 2 minutes Hello Folks, As we discussed earlier Solr with Scala and AkkaHttp in our last blog we have used Solr as a service and tried to hit solr service with the AkkaHttp and spray routes. Here is the link for the Recap. When we want to do testing for those methods which are creating connection with the remote solr server, have to use Embedded Solr for Continue Reading

Jenkins – Integrating Email Service

Reading Time: 4 minutes Jenkins is one open source tool to perform continuous integration and build automation. Using it, all development work can be integrated as early as possible. The resulting artifacts are automatically created and tested and as a result the process of identification of errors becomes faster. But there must be a way so that build status and testing results can be reported to the team. And Continue Reading

Jenkins Build Jobs

Reading Time: 4 minutes In continuation to my previous blogs Introduction to Jenkins and Jenkins – Manage Security , I will now be talking about creating build jobs with Jenkins. It is easy and simple to create a new build job in Jenkins. Follow the given steps to get started: From the Jenkins Dashboard, Click on “New Item” Name your project and select project type. Click on “Ok” to Continue Reading

integrating Cucumber with Akka-Http

Blending Cucumber, Cassandra and Akka-Http

Reading Time: 2 minutes Folks, Knoldus has always pioneered the deep diving into the best ways to use cutting edge technologies. In the past few days, one of our team carried this deed by integrating Cucumber with Akka-Http, Cassandra and of course, Scala. In this blog, we reach out to you to explain and show how this can be done. Cucumber Cucumber is for Behavior Driven Design (BDD). The Continue Reading

Testing Rejection Handling in Akka-Http

Reading Time: 2 minutes In my previous blog, I discussed how to handle rejections in Akka Http. You may find it here. We left it on terms to explain the testing of it later. Keeping the promise 😉 In this blog, we will learn how to be able to write the test cases for rejection handling in Akka-Http. We will be using Akka TestKit and Akka-Http TestKit. Dependencies are Continue Reading

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

Gatling Integration with Play

Reading Time: 2 minutes I have started working on a project which require stress testing using Gatling. I Setup the sbt project on which gatling is working fine. But when I try to integrate it using play framework, it doesn’t work. The project structure for both are different so it doesn’t work for both the project in the same manner. Your build.sbt should be  like this: import _root_.io.gatling.sbt.GatlingPlugin import Continue Reading

Improve Memory Usage and Performance of Application Using Yourkit Profiler

Reading Time: 3 minutes In this blog we are walking through how to improve performance of application using Yourkit profiler it is  helpful for both Tester and Developers. Your Kit is big achievement in the evolution of the profiling tools. It is intelligent tools for profiling java , .net and ( JVM support languages)  based applications. It is often important to check memory usage and memory used per process on servers 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