initry
initry is a reporting system for automation tests. Currently it supports the Pytest framework.
How does Initry work?
A pytest plugin collects the execution statuses of test cases and sends them to the Initry backend. You can review test runs and tests that are in progress or have been completed.
initry consists of:
- Frontend (Next.js)
- Backend (FastAPI)
- Pytest plugin
Communication between the backend and frontend is organized via gRPC.
Requirements
- MongoDB 7
- Docker
Download
Clone repo from Github
or get it manually from https://github.com/initry/initry
Configuration
Before running initry, make sure to set up your environment:
-
Navigate to the
backend
folder and create your.env
file by copying theenv.example
file: -
Configure the
.env
file based on your settings. Open the.env
file and set values for the environment variables. - Navigate to the
frontend
folder, create your.env
file by copying theenv.example
file and do the necessary changes in envs based on your settings:
Running Initry
To run Initry, follow these steps:
-
Navigate back to the root folder of Initry.
-
Execute the
run_docker.sh
script:
This will start Initry with the specified environment settings.
- Open http://localhost:3000
Install pytest-initry
To collect test results you need to install the pytest-initry library.
Optional
Change API port:
Configure INITRY_API_EXTERNAL_PORT
in your .env
file.
Change Frontend port:
Configure INITRY_FRONTEND_EXTERNAL_PORT
in your .env
file.