🆕 Free Interactive Selenium, Playwright & API tools — no signup — Start Free Automation Roadmap →
📁
All Topics › TestNG & JUnit

TestNG & JUnit

TestNG and JUnit 5 test frameworks for Java

7 Articles
1 Beginner
4 Intermediate
2 Advanced
Advanced 📅 Oct 5, 2026 👁 29 views

TDD Best Practices: FIRST Principles, Test Smells, Legacy Code, CI and Code Coverage

TDD best practices for experienced engineers: FIRST principles, test smells and anti-patterns, TDD in legacy code, TDD in CI/CD.

Intermediate 📅 Oct 5, 2026 👁 19 views

TDD (Test-Driven Development): Red-Green-Refactor, Mocking and Interview Questions

Test-driven development explained with interview questions by level: red-green-refactor, test naming, JUnit, Mockito, test pyramid.

Intermediate 📅 Oct 5, 2026 👁 17 views

JUnit 5 Tutorial: Annotations, Assertions, Parameterized Tests and Extensions

JUnit 5 tutorial with examples: setup, lifecycle annotations, assertions, assertThrows, parameterized tests (CsvSource, MethodSource), tags.

Beginner 📅 Oct 5, 2026 👁 8 views

TestNG Tutorial (2026): What Is TestNG, Setup, First Test and Execution Order

TestNG tutorial: what TestNG is, why teams use it, Maven setup, a first test class, the execution order of annotations and a learning path.

Intermediate 📅 Oct 5, 2026 👁 22 views

TestNG Listeners: ITestListener, RetryAnalyzer and Extent Reports (With Code)

TestNG listeners with code: ITestListener with screenshots and Extent Reports, ways to register listeners, and retrying flaky tests with IRetryAnalyzer.

Advanced 📅 Oct 5, 2026 👁 34 views

Advanced TestNG: @Factory, invocationCount, timeOut and Execution Control

Advanced TestNG with code: @Factory vs DataProvider, invocationCount and threadPoolSize, timeOut, enabled, singleThreaded and ITestResult codes.

Intermediate 📅 Oct 5, 2026 👁 20 views

TestNG Best Practices and CI/CD: Maven, Jenkins, GitHub Actions and Common Mistakes

Run TestNG from Maven, Jenkins and GitHub Actions, then keep the suite reliable with best practices and fixes for the most common TestNG mistakes.