We deliver whatever we promise, Automation is an art, Feel the difference with us.

Course Overview   Live Training at $399 Videos at $1

In this course we cover the Junit Testing Framework which can be used for Java Programming. The main focus of the course is learn Junit from basic to advance level to build the automation framework around it. Unit testing examples has been taken up in this exercise for demonstration

Free Course:  Scroll Down for Videos

 

Syllabus

Topic - 1: Junit Overview and Configuration

  • What is a Junit
  • Junit Implementation
  • Downloading Eclipse
  • Add  Junit jar Files

Topic - 2: Junit Basics – Defining first Test Script

  • Standard Test Convention
  • Configure the Source to the Test Project
  • Create First Junit Test Case
  • Configure the WebDriver Jar files to the project
  • Selenium WebDriver Test in Junit

Topic - 3: Junit Annotations – I

  • @Before and its implementation
  • @ After and its implementation
  • Real time use of @ Before and @ After Annotations

Topic - 4: Junit Annotations – II

  • @BeforeClass and its implementation
  • @AfterClass and its implementation
  • @Ignore and its implementation
  • @Timeout and its implementation
  • Assume. AssumeTrue to control the execution

Topic - 5: Exception Testing

  • Need for exception Testing
  • Testing exception types
  • Testing exception messages

Topic - 6: Assertion in Junit

  • Exception in Assert Failure
  • Handling Multiple validation Criteria
  • Reporting Error

Topic - 7: Hamcrest Testing Framework for Junit

  • Understanding Hamcrest Framework
  • Hamcrest common matchers

Topic - 8: Organizing Tests in Junit

  • Creating Test Suites in Junit
  • Categorizing Test using Categories
  • Implementing Rules
  • Implementing Theory

Topic - 9: Tests Parameter in Junit

  • Understanding Parameterized Tests
  •  Creating Parameterized Tests

Topic - 10: Junit Runners

  • Different Junit Runners
  •  Console Runner
  • Running Junit from Console

Topic - 11: Integrating Junit with ANT

  • Understanding ANT
  •  Junit and ANT Integration
  • Creating ANT Build
  • Running Test with ANT
  • Generating Report with ANT

Topic - 12: Integrating Junit with MAVEN

  • Understanding MAVEN
  •  Junit and MAVEN Integration
  • Creating MAVEN Build
  • Running Test with MAVEN
  • Generating Report with MAVEN

Demo Video

  • 1. Junit Overview and Configuration
  • 2. Junit Basics – Defining first Test Script
  • 3. Junit Annotations – I
  • 4. Junit Annotations – II
  • 5. Exception Testing
  • 6. Assertion in Junit