๐Ÿงช Environment Setup for Vibe Testing

The environment for this vibe testing blog post is:

  • ๐Ÿงฉ Install VS Code
  • ๐Ÿ Install Python
  • ๐Ÿโœ… Install Python Behave Using pip
  • Install ๐ŸŽญPlaywright for ๐ŸPython
  • ๐Ÿ’ก๐Ÿš€ Install Gemini Code Assist in VS Code

Once all of these are installed โ€“ setup your project with the following folder structure and download the Automation Exercises Functional Requirements.

project_root/
โ”œโ”€โ”€ behave.ini                     # optional test profiles, tags, etc.
โ”œโ”€โ”€ README.md                      # highโ€‘level overview
โ””โ”€โ”€ features/                      # Behaveโ€‘scanning root (mandatory)
    โ”œโ”€โ”€ environment.py             # Playwright setup / teardown (hooks)
    โ”œโ”€โ”€ *.feature                  # *.feature + tags + Gherkin
    โ”œโ”€โ”€ steps/
    โ”‚   โ””โ”€โ”€ *.py                   # high-level scenario steps
    โ””โ”€โ”€ pages/                     # inline Page Object Model location
        โ”œโ”€โ”€ __init__.py
        โ””โ”€โ”€ *.py                   # wait helpers, navigation, common clicks