File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,6 +84,22 @@ Run database tests locally:
8484sh run-tests.sh --db --local
8585```
8686
87+ ### Continuous Integration
88+
89+ Tests are automatically run on every push to the ` master ` branch and on all pull requests through GitHub Actions. The workflow:
90+
91+ 1 . Builds the Docker container for testing
92+ 2 . Runs the complete test suite
93+ 3 . Reports the results directly in the GitHub interface
94+
95+ You can view test results in the "Actions" tab of the repository.
96+
97+ To run the same CI tests locally before pushing:
98+ ``` bash
99+ cd backend
100+ ./run-tests.sh
101+ ```
102+
87103### Testing Environment Requirements
88104
89105#### Local Testing
@@ -109,6 +125,17 @@ For Docker-based testing, you need:
109125
110126The Docker setup handles all dependencies automatically.
111127
128+ ### Test Architecture
129+
130+ The test suite is organized into several modules:
131+
132+ - ** Unit Tests** : Basic functionality tests for individual components
133+ - ** Git Tests** : Tests for repository creation, cloning, and management
134+ - ** Database Tests** : Tests for data persistence and retrieval
135+ - ** Authentication Tests** : Tests for user authentication and authorization
136+
137+ Each test module can be run independently or as part of the complete test suite.
138+
112139## Development
113140
114141<img width =" 863 " alt =" Screenshot 2025-03-07 at 03 14 42 " src =" https://github.com/user-attachments/assets/6ec8e2a7-0aa7-4b1c-aec1-71148c60a33e " />
You can’t perform that action at this time.
0 commit comments