jUnit

Working on report

How to Generate Junit Reports in Cypress

Reading Time: 2 minutes Hi Readers,In this blog, we will learn about how to generate Junit Reports in Cypress. Cypress Cypress is a free, open-source, and end-to-end testing framework for web test automation. It helps developers to write automated web tests in Javascript. It is a front-end and back-end test automation tool for the next generation of modern web applications. Many big companies like Alibaba Travels, and CircleCI uses 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.

Knolx : Exploring the power of JMockit

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.

Cucumber

Reading Time: 2 minutes Cucumber is a testing framework which supports Behaviour Driven Development (BDD) which is used to write acceptance tests for web application. It allows automation of functional validation in easily readable and understandable format (like plain English) to Business Analysts, Developers, Testers, etc. Cucumber was implemented in Ruby and then extended to Java framework. It supports to jUnit. Behavior Driven Development is extension of Test Driven Development. Cucumber Basic: Continue Reading

Playing MultipartFormData: A basic example to handle and test MultipartFormData request in Play Framework 2.3.8

Reading Time: 2 minutes Playing MultipartFormData The following blog and attached code represent an example to upload file using MultipartFormData request and Testing it into Play Application. A basic example to handle and test MultipartFormData request in Play Framework 2.3.8 The standard way to upload files in a web application is to use a form with a special multipart/form-data encoding, which lets you mix standard form data with file attachment Continue Reading

Automated UI testing in a Play Scala Application using FluentLenium

Reading Time: 2 minutes In this blog I am going to demonstrate how to do Automated UI testing of a Play Scala application using FluentLenium. FluentLenium is a framework that helps to write Selenium tests. FluentLenium provides us a fluent interface to the Selenium Web Driver. FluentLenium allows us use the assertion framework we like, either jUnit assertions or Fest-assert. To start building testcases using FluentLenium follow the below steps: 1) Add following dependencies in build.sbt file. “org.seleniumhq.selenium” Continue Reading