Skip to content

Releases

v1.2.0 — Week 19: API scenarios with REST Assured

Choose a tag to compare

@Albatros46 Albatros46 released this 02 Nov 08:25

Week 19 of my QA Automation roadmap.

  • 18 API scenarios against my Spotify Clone API (Spring Boot + PostgreSQL): registration/login rules, private playlists 404 for others, public read-only, 409 duplicate song, positions renumbered, validation
  • ApiClient + ApiState per scenario via PicoContainer; every scenario creates its own users, songs and playlists -> parallel and repeatable
  • Browser hooks tagged @ui: API scenarios start no browser (~10 s for 18 scenarios)
  • On failure the last response is attached to the report with tokens masked; control runs: wrong expectations fail, 0 JWTs in the reports
  • CI: UI matrix (junit, testng) + API job with PostgreSQL and Spotify Clone v1.1.0, nightly

v1.1.0 — Week 18: Parallel scenarios, PicoContainer, TestNG

Choose a tag to compare

@Albatros46 Albatros46 released this 02 Nov 08:25

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

v1.0.0 — Week 17: Cucumber basics (Gherkin, Hooks, Tags)

Choose a tag to compare

@Albatros46 Albatros46 released this 02 Nov 08:24

Week 17 of my QA Automation roadmap.

  • 3 features, 15 UI scenarios on saucedemo (Selenium 4.51, Cucumber 8.0.4, JUnit Platform 6.1)
  • Gherkin: Background, Scenario Outline + Examples, DataTables as List and Map, typed Cucumber expressions
  • Hooks: @BeforeAll/@AfterAll, browser per scenario, tagged @slow hook, @AfterStep screenshot on failure (verified with a control run)
  • Tags @smoke @e2e @negative @slow, filtered with -Dcucumber.filter.tags
  • HTML + JSON report, CI with headless Chrome