Repository navigation
v1.1.0 — Week 18: Parallel scenarios, PicoContainer, TestNG
Week 18 of my QA Automation roadmap.
- Control run first: the v1.0.0 static browser in 4 threads -> 14 of 15 scenarios errored, 11 chromedrivers left running
- PicoContainer: Browser and ScenarioState injected per scenario (no static, no ThreadLocal); new scenario checks the checkout total against prices remembered by another step class (16 scenarios)
- Two runners, same features: JUnit Platform (default, parallel) and TestNG (-Ptestng, parallel DataProvider; deprecated for removal since Cucumber 8.0)
- -Dthreads=N, measured 1 vs 4 threads (see README)
- Browser start retried once on SessionNotCreatedException (start only, never a test result)
- CI matrix: junit + testng