4.76 out of 5
4.76
21 reviews on Udemy

What every java developer must know about software testing

Concepts & frameworks: TDD,BDD,Junit,TestNG,Hamcrest,AssertJ,Mockito,Jmockit,Selenide,Selenium,Cucumber,Jbehave,JaCoCo..
Instructor:
Hamadi Sy
102 students enrolled
English
Persuasively discuss and explain why software testing is indispensable in the development lifecycle
Explain the difference between unit-, integration-, system-, ui-, acceptance-, regression- and not-functional tests.
Explain the concepts test/behavioral driven developement (TDD/BDD).
Write test driven unit and integration tests using JUnit/TestNG and use Hamcrest/AssertJ for better assertions
Use JMockit/Mockito to mock context irrelevant dependencies
Write Web-UI system tests using Selenium/Selenide
Write behavioral driven acceptance tests using Cucumber/JBehave
Monitor test coverage using Jacoco/EclEmma

In this course you will learn to persuasively discuss and explain the common software testing concepts and why software testing is necessary.

You will implement the game Tic-Tac-Toe from scratch in java

You will ensure high quality of the game implementation using: TDD, BDD, Unit, Int, Smoke, System, End-To-End, Regression, Acceptance and non functional tests

You will become Hands-on experience with the following testing frameworks: Junit, Hamcrest, Mockito, Selenide, Cucumber and JaCoCo

You will become Hands-on experience with alternative frameworks: TestNG, AssertJ, Jmockit, Selenium, Jbehave and EclEmma

Introduction

1
Course introduction
2
Find out your testing skill level
3
About the target student and the instructor

Setup development environment

1
Setup motivation
2
Install JDK 1.8 +
3
Install maven 3.5 +
4
Install wildfly 14 +
5
Install and configure eclipse

N.B.

If you can not find the TestNG plugin in Eclipse Marketplace use the following steps to install it (see the attached image for a visual illustration):

1. Go to Help->Install new software

2. Type in "http://beust.com/eclipse/" in the "Work with" field

3. Click on "Add"

4. Type in "TestNG" as "Name"

5. Click on "Add"

6. Select the checkbox "TestNG"

7. Click on Next... Accept the license agreements...

6
Install MongoDB
7
Initial tictactoe project setup
8
Setup summary

Motivation of software testing

1
Lack of testing costs money, reputation and lives
2
No quality without testing
3
Testing motivation summary

Unit testing basics and frameworks

1
Unit testing motivation
2
Unit testing framework JUnit - part1
3
Unit testing framework JUnit - part2
4
Unit testing framework JUnit - part3
5
Unit testing framework TestNG

TicTacToeGameRoundTest

6
Unit testing framework helper Hamcrest
7
Unit testing framework helper AssertJ
8
Implement Database wrapper
9
Mocking framework Mockito
10
Mocking framework Jmockit

TicTacToeGameStateTest

11
Test coverage check with JaCoCo and eclEmma
12
Unit testing frameworks summary

Unit testing with TDD

1
TDD motivation
2
Implement R1 - play a field
3
Implement R2 - track player
4
Implement R3 - track result (horizontal and vertical)
5
Implement R3 - track result (diagonal and draw)
6
Implement R4 - save to database -1
7
Implement R4 - save to database - 2
8
Test coverage, regression and completion
9
Unit testing with TDD summary

Integration testing

1
Integration testing motivation
2
Integrate database
3
Smoke testing - DB and UI integration
4
Integration testing summary

UI and System testing

1
System testing motivation
2
Implement GUI
3
Implement ST with selenium - part1

TicTacToeGameUiTest

4
Implement ST with selenium - part2
5
End-To-End testing
6
Non functional testing
7
System testing summary

Acceptance testing

1
Acceptance testing motivation
2
Implement BDD acceptance test with cucumber and selenium - part1
3
Implement BDD acceptance test with cucumber and selenium - part2
4
Implement BDD acceptance test with jbehave and selenide - part1

narrative, scenario, step

5
Implement BDD acceptance test with jbehave and selenide - part2
6
Acceptance testing summary

Course summary and attachments

1
Course summary and project final version
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.8
4.8 out of 5
21 Ratings

Detailed Rating

Stars 5
16
Stars 4
4
Stars 3
0
Stars 2
1
Stars 1
0
fec56719131d894f3045e265487b05e6
30-Day Money-Back Guarantee

Includes

6 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion