Call : (+91) 968636 4243
Mail : info@EncartaLabs.com
EncartaLabs

TDD with Scala

( Duration: 2 Days )

The Test Driven Development with Scala training course focuses on helping Scala developers and QA engineers write effective and complete tests for Scala based applications. This course begins with a introduction to test driven design concepts and the significance of TDD to modern software development. It then transitions into the mechanical aspects of testing with Scala, covering things like the SBT, ScalaTest, and Specifications.

Along the way, you will learn different testing strategies, how to work with Mock Objects, and how to effectively test Scala frameworks like Akka and Play.

  • This Test Driven Development with Scala class is ideal for Developers and Q/A Engineers responsible for testing Scala based applications.

COURSE AGENDA

1

Introduction to Testing

  • What is Test Driven Design
  • Why Test Driven Design in important
2

A Little be about SBT (Simple Build Tool)

  • Basic Concepts
  • Compare and Contrast With Maven
  • How to create a Project in SBT
  • An overview of SBT Settings and Commands
  • How to manage SBT history
  • How to use Triggered Executions
  • How to Run Tests
3

ScalaTest

  • Installing ScalaTest
  • Matchers in Scala Test
  • Exception Handling
  • Informers
  • Given When Then
  • Pending Tests
  • Ignoring Tests
  • Tagging Tests
4

Effectively Using Specifications

  • FunSpec
  • WordSpec
  • FeatureSpec
  • Free Spec
  • Word Spec
5

Effectively using Java Standard Testing frameworks

  • JUnit
  • TestNG
6

Creating fixtures to avoid copying code

7

Specs2

  • Installing Specs2
  • Matchers in Specs2
  • Creating Unit Specification
  • Creating Acceptance Specifications
  • Chain testing
  • Using Given When and Then
  • Use DataTables to do rigorous testing
  • How to tag tests
  • How to create fixtures to avoid copying code
8

Mocking

  • Difference between mocks, stubs, dummies, and mocks
  • Using Easy Mock with Scala and ScalaTest
  • Using Mockito with Scala and Specs2
  • Mocking Difficult Constructs with ScalaMock
9

ScalaCheck

  • Why Participants need to use ScalaCheck now!
  • Automated Testing
  • Creating and Constraining Properties
  • Grouping Properties
  • Using Built in Generators and Arbitrary
  • Creating Participants Own Generators and Arbitrary
  • Integrating ScalaCheck with ScalaTest
  • Integrating ScalaCheck with Specs2
1

Scala Testing Integrations

  • Scala Testing in Akka
  • Scala Testing in Play
  • Scala Testing in Selenium

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting https://www.encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top
Notice
X