Getting Started#
Overview#
ArgoBEAST provides a simple platform for building functional, smoke, regression, and integration tests.
As a Systems Tester, you will build out the functionality of your application using a Page Object Model (POM). This is comprised of:
Pages
Actions
Steps
Features
You’ll find more information on each component throughout this documentation.
At the highest level are Features. Features use Gherkin syntax, powered by Behave, to describe tests in a clear, human-readable format.
Example Feature
Once the core functionality has been built, creating new tests becomes quick and straightforward for anyone.
Installation#
Before you can start a new project, you will need to install ArgoBEAST.
pip install argobeast
or, if you are using uv (recommended)
uv add argobeast
To confirm installation has been successful, you can run.
argobeast hello
This should display a welcome message.
### Welcome to ArgoBEAST! ###
Project Initialisation#
To start a new project run:
argobeast init
Note: If using uv, make sure to run uv venv first to create a virtual environment, and then run argobeast init within that environment.
This will create the directories and files you will need to get started. You will be asked during initiation if you’d like example files to get you started. This will produce the following file structure.
my-tests/
│
├── pages/
│ └── login_page.py
├── actions/
│ └── login_actions.py
├── features/
│ ├── login.feature
│ └── steps/
│ └── login_steps.py
├── config/
│ └── driver.yml
└── features/environment.py
Behave discovers environment.py automatically, this contains logic for before, during and after tests. You should not touch this file.
Creating a Brand New Page Collection#
Many times, especially for a new testing suite, you’ll need to create the Steps, Actions, and Page files for a new section of the system under test. Rather than creating each page individually, you can simply use the ArgoBEAST CLI to create all 3 files.
argobeast create all <name>
Configuration#
config/driver.yml.