JAVA-105

DB Unit Fundamentals (Test Data Management)

Download as PDF
Enquire Now

Course Overview

One of the toughest and most tedious parts of enterprise testing is preparing the database with the right test data for each test, and then resetting the data after each test. This is exactly what DB Unit does. Before each test, DB Unit will load the pre-defined “data set” appropriate for each test. In can also do clean up or resetting of the database after each test. DB Unit can also validate the values written on the database.

Learning Outcomes

  • By the end of this course, you will be able to effectively use DB Unit to test relational database interactions in Java.

Course Outline

DB Unit

  • DB Unit Overview
  • Project Setup
  • Writing a Dataset
  • Connecting to a Database
  • Reading the Dataset
  • Asserting

Skill Level

Beginner

Suitable For

Quality Engineers and managers with some background in Java, SQL, and test automation with JUnit

Prerequisites

  • SQL-101 — SQL Fundamentals (or equivalent experience/training)
  • JAVA-101 — Java Fundamentals (or equivalent experience/training)
  • JAVA-103 — JUnit Fundamentals (or equivalent experience/training)

Duration

1

 day

Related Topics

Enquire Now
JAVA-105

DB Unit Fundamentals (Test Data Management)

Download as PDF
Enquire Now

Skill Level

Beginner

Suitable For

Quality Engineers and managers with some background in Java, SQL, and test automation with JUnit

Duration

1

 day

Related Topics

Course Overview

One of the toughest and most tedious parts of enterprise testing is preparing the database with the right test data for each test, and then resetting the data after each test. This is exactly what DB Unit does. Before each test, DB Unit will load the pre-defined “data set” appropriate for each test. In can also do clean up or resetting of the database after each test. DB Unit can also validate the values written on the database.

Learning Outcomes

  • By the end of this course, you will be able to effectively use DB Unit to test relational database interactions in Java.

Course Outline

DB Unit

  • DB Unit Overview
  • Project Setup
  • Writing a Dataset
  • Connecting to a Database
  • Reading the Dataset
  • Asserting