Web-based backend service for uploading test run results from various file formats into a database, and accessing structured data via REST API.
The architecture is easily adaptable for integration into any QA department workflow.
Currently, microservices communicate with each other via Redis pub/sub and HTTP.
- TrtUploadService - Receives test result files via POST, saves them to storage, triggers parsing, and then pushes results to the DB via ApiService.
- TrtParserService - Parses the saved file according to its extension and returns a DTO.
- TrtApiService - Handles DB logic and provides CRUD operations for easy navigation and storage.
- TrtShared - Shared code and DTOs for all microservices.
-
Clone the repository
git clone https://github.com/trippymajo/TestRes-Tracker.git -
Configure environment variables:
- Copy
.env.templateto.envand fill in your values (Redis, PostgreSQL). - Edit/Create
appsettings.jsonfiles in each project as described in the corresponding README files.
- Copy
-
Start the stack:
- Run
docker compose up(usingcompose.yaml) - This will start all required containers (Redis, PostgreSQL) for local development.
- Run
-
Create DB migrations
- Terminal:
cd TrTracker\TrtApiService dotnet ef migrations add InitialCreate --project TrtApiService --startup-project TrtApiService dotnet ef database update --project TrtApiService --startup-project TrtApiService
or use my migrations:
cd TrTracker\TrtApiService dotnet ef database update
-
Start the system
- MS VS:
Use 'ALL' configuration to build and start all the microservices. F5 or Ctrl+F5 without debugging. - Terminal:
dotnet restore dotnet build # In separate terminal windows/tabs, run: dotnet run --project ./TrTracker/TrtApiService/TrtApiService.csproj dotnet run --project ./TrTracker/TrtParserService/TrtParserService.csproj dotnet run --project ./TrTracker/TrtUploadService/TrtUploadService.csproj - MS VS:
- GitHub Actions CI for all projects (Mid June)
- Api Service CRUD (Mid July 2025)
- Own Envelope
- Beta-1 (TRX Endpoint full working)
- Full docker deployment
- Full cloud deployment
- FluentValidation across services
- Security research
Pull requests, additional info in issues are welcome! But currently nothing related to ApiService, as it is not ready yet. Help needed with:
- Parsers of the test files
- Concrete implementations for Azure Cloud Development
- Concrete implementations for Google Cloud Development
- Additional CRUD operations for API Service
- Unit tests for Services