~/talk

TestNG vs JUnit 5 Battle

TalkinRussianat Selenium Camp 2017 · 2017-02-24..02-25· [testing]
slides:none on file

Compares TestNG and JUnit 5 for Java testing: TestNG is more widely used and has advantages in built-in data providers and simple parallel execution but has issues with listener-order and global listener bugs; JUnit 5 offers composite annotations, parameter resolvers, many extension points (conditional disable, assertAll lambdas, no-public-required), and a JUnit 5 adapter was built for the video-recorder module, though JUnit 5 is still considered effectively beta for enterprise use.

AI-written summary · about

  1. 0:00Introduction
  2. 2:28TestNG vs JUnit popularity
  3. 5:19Round 1: Parameterization
  4. 8:10Parallel test execution
  5. 10:17JUnit 5 first advantage
  6. 12:33JUnit 5 composite annotations
  7. 14:18Soft assertions comparison
  8. 16:03Listeners and rules
  9. 20:21Disable conditions
  10. 21:46Parameter injection
  11. 24:16JUnit 5 extensions
  12. 27:07TestNG problems
  13. 33:57Build tools support
  14. 36:45Code comparison JUnit vs TestNG
  15. 38:30Parallel execution comparison
  16. 39:15Build tools and tags
  17. 40:21JUnit 5 production use
  18. 41:49Results and takeaways
  19. 43:37Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.