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: < 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: 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
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
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