CLi Pipline - amosproj/amos2025ss04-ai-driven-testing GitHub Wiki
Overview
This repository contains the code and tests for the AI-Driven Testing project, part of the AMOS (Agile Methods and Open Source) course for Summer Semester 2025.
Features
- Sequential Docker Runner: Utility for running Docker containers in sequence
- More features coming soon...
Setup Instructions
Prerequisites
- Python 3.10 or newer
- pip (Python package manager)
- Docker (for container management features)
Setting Up the Environment
# Create a virtual environment
python -m venv venv
# Activate the environment
# On macOS/Linux:
source venv/bin/activate
# On Windows:
# venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
Code Quality and Formatting
This project uses Black for code formatting:
# Verify formatting
black --check .
# If issues are reported, fix them automatically with
black .
Running Tests
Execute tests from the project root directory:
# Run all tests
pytest
# Run tests with less output
pytest -q
# Run tests with verbose output
pytest -v
Continuous Integration
This project uses GitHub Actions for CI. Each push and pull request triggers:
- Code formatting check with Black
- Linting with Flake8
- Automated tests with Pytest
Development
When contributing:
- Create a new branch for your feature/fix
- Make sure all tests pass locally before pushing
- Follow the code style guidelines