Reading Time: 2 minutes In this blog we are going to discuss an approach to run multiple tests using JUnit and for this task we will user JUnit Platform Launcher API. We are going to create a demo project in Maven that uses the Launcher API to discover and run tests. Lets add some dependencies to our Maven project: <dependencies> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>5.6.0</version> </dependency> <dependency> <groupId>org.junit.vintage</groupId> <artifactId>junit-vintage-engine</artifactId> <version>5.6.0</version> Continue Reading
Reading Time: 3 minutes Writing functionality is the main focus whenever we are writing a software program, but it is equally important that we make sure our code works the way we intended it to. And how do we do that? By writing unit test cases. They are used to test the smallest functionality of code. Unit test cases are an essential part of software development. In this blog, Continue Reading
Reading Time: 4 minutes Hi all , here we are going to develop a BDD framework for automating our Rest API’s with the help of rest assured and cucumber using scala and sbt build tool. REST assured DSL already provides a BDD style writing of tests in the Given , When and Then format , but still if you want to know what scenarios are covered , you still Continue Reading
Reading Time: 4 minutes This article talks about the Spock framework. It’s a framework for writing unit test cases in BDD style.
Reading Time: 3 minutes In continuation of my cucumber series, this blog will help us clear the concept of using cucumber tags and hooks. We will look at some practical approach and how a lot of time can be saved by using different tags and hooks. What are cucumber tags and hooks? Now, tagging is nothing but a simple annotation. So, you can provide your annotation using a conventional Continue Reading
Reading Time: 2 minutes Previously, in my Cucumber with the Selenium series, we have seen different types of files and keywords necessary for being the part of cucumber framework. You can find the link here. Moving forward, in this blog we will see Complete Eclipse Setup for Cucumber and convert the same thing into code. Step wise guide to setup cucumber framework Step 1 :Let’s start creating a maven Continue Reading
Reading Time: 3 minutes Software testing is the process of verifying and validating , the developed software that works according to expectations or not. We already know that no code is perfect and completely bug-free. Also, in this fast-changing era every now and then various features are added which only increases the chances of getting bugs. Hence, the code is changed and improvised regularly to minimise the bugs, add Continue Reading
Reading Time: < 1 minute Hello everyone, Knoldus organized a session on 22nd December 2017. The topic was “JMockit”. Many people attended and enjoyed the session. In this blog post, I am going to share the slides & video of the session. Slides: JMockit from Knoldus Inc. Video: If you have any query, then please feel free to comment below.
Reading Time: 3 minutes In continuation with my previous blog, complete eclipse setup for cucumber, this blog will help us in adding Test Case To Cucumber files and thus, creating a sample project. In first place, we have covered step 1 to step 4. Likewise,we will go ahead from step 5 to step 7 Adding Test case To Cucumber Feature File Step 5 :Firstly, Adding data to your first Continue Reading
Reading Time: 3 minutes Automated Rest services testing using REST Assured library. Introductory guide for REST Assured library. basic understanding of its use and requirement.
Reading Time: 3 minutes Test report is generally a communication bridge between test manager and stakeholder. The stakeholder can understand the project situation with test report only. One of the use case will be evaluating the quality using test report. It is because you want to make decisions based on those reports for example if there are number of defects remaining the project, we simply not release the project. Continue Reading
Reading Time: 3 minutes What is CircleCI– CircleCI is a modern continuous integration and continuous delivery (CI/CD) platform. The CircleCI Enterprise solution is installable inside your private cloud or data center and is free to try for a limited time. CircleCI automates the build, test, and deployment of Software. From this above diagram, we came to know that after the test/code on GitHub is authorized and added as a Continue Reading
Reading Time: 3 minutes Hi folks, In this blog, we will take a peek into the REST Assured and will try to understand the basic architecture of it. Moreover, we will try to have a brief understanding of writing a basic test script as well. So, let’s get going. What is Rest Assured? It won’t be an overstatement if we say that APIs are playing a very important role Continue Reading