Skip to content

Commit a665c11

Browse files
committed
docs(readme): testing on CI
1 parent 76f72d9 commit a665c11

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,22 @@ Run database tests locally:
8484
sh 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

110126
The 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" />

0 commit comments

Comments
 (0)