Modern QA2026Hands-On Exercise — tiles
Log inJoin
40 / 55 · 19 Linux & Command Line · Bash Scripting for QA← prev⊞ allnext →☰ Read as one page

5.10Hands-On Exercise

  1. Write a smoke test script that checks 3 URLs and reports pass/fail
  2. Write a wait-for-service script and use it before running your test suite
  3. Write a cleanup script that removes test artifacts older than 7 days
  4. Install shellcheck and run it on your scripts. Fix any warnings.
  5. Add error handling (trap) to one of your scripts
  6. Write a script that takes environment name as an argument and runs the appropriate test suite