Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
019e789
fix: (#119) Improve API unit tests coverage.
Azfe Feb 13, 2026
924903a
fix: (#119) Implement Entities unit tests.
Azfe Feb 13, 2026
e23b00b
fix: (#119) Implement Use cases unit tests.
Azfe Feb 13, 2026
8eab67b
fix: (#119) Implement Mappers unit tests.
Azfe Feb 13, 2026
47df9f1
fix: (#119) Implement Value Objects unit test: test_contact_info.py.
Azfe Feb 13, 2026
aa7d512
fix: (#119) Implement DTOs unit tests.
Azfe Feb 13, 2026
1ce0e5b
fix: (#119) Fix Lint workflow.
Azfe Feb 13, 2026
dbbb8af
Merge pull request #120 from Azfe/fix/issue-119-improve-coverage
Azfe Feb 13, 2026
8fc2dc6
docs: (#121) Create document: ARCHITECTURE.md.
Azfe Feb 13, 2026
7251883
Merge pull request #124 from Azfe/docs/issue-121-create-architecture-doc
Azfe Feb 14, 2026
e37e6c5
docs: (#123) Create document: PROJECT_CONTEXT.md
Azfe Feb 14, 2026
d26ae34
Merge pull request #126 from Azfe/docs/issue-123-create-project-conte…
Azfe Feb 14, 2026
82a1740
feat: (#127) Implement infrastructure integration tests.
Azfe Feb 14, 2026
fec3c72
fix: (#127) Fix test execution errors.
Azfe Feb 14, 2026
6616373
fix: (#127) Fix format.
Azfe Feb 14, 2026
ebce59f
Merge pull request #130 from Azfe/feature/issue-127-tests-infra
Azfe Feb 14, 2026
8f493dd
fix: Modify port to resolve API docs access problem.
Azfe Feb 14, 2026
28a06ad
Merge pull request #131 from Azfe/fix/modify-port
Azfe Feb 14, 2026
5f1f107
feat: (#132) Implement missing repositories.
Azfe Feb 15, 2026
3d55a54
feat: (#132) Implement missing DTOs.
Azfe Feb 15, 2026
e93565a
feat: (#132) Implement missing DTOs.
Azfe Feb 15, 2026
64858e9
feat: (#132) Implement missing Use Cases.
Azfe Feb 15, 2026
c18aea6
fix: (#132) Fix Linting.
Azfe Feb 15, 2026
bdd9dd5
fix: (#132) Fix Linting.
Azfe Feb 15, 2026
0b3851a
feat: (#132) Connect routers with uses cases and repositories.
Azfe Feb 16, 2026
ba2ec08
fix: (#132) Fix imports order.
Azfe Feb 16, 2026
96c84f5
Fix: Resolve ruff and isort conflict
Azfe Feb 16, 2026
6f394a4
Fix: Disable isort standalone and let only ruff handle imports
Azfe Feb 16, 2026
9d16000
Fix: (#132) Mock dependencies for unit tests.
Azfe Feb 17, 2026
d9e622f
Fix: (#132) Fix error detected after running unit tests.
Azfe Feb 17, 2026
841ee5a
Merge pull request #133 from Azfe/feature/issue-132-connect-routers-u…
Azfe Feb 17, 2026
a293c88
feat: (#128) Implement API integration unit tests.
Azfe Feb 17, 2026
9645d64
Fix: (#128) Fix linting errors.
Azfe Feb 17, 2026
f4ab8e0
Fix: (#128) Fix tests errors: Update fixture Client.
Azfe Feb 17, 2026
670d168
Fix: (#128) Fix linting errors: Remove isort from linting pipeline, k…
Azfe Feb 17, 2026
e883717
Fix: (#128) Fix linting format error.
Azfe Feb 17, 2026
4a7f020
Fix: (CI) Fix tests in CI and lint checks.
Azfe Feb 17, 2026
9e58e74
Merge branch 'develop' into feature/issue-128-tests-api
Azfe Feb 17, 2026
9a77331
Fix: (#128) Fix linting errors.
Azfe Feb 17, 2026
904293b
fix: (#128) Add dependency overrides to integration test conftest for…
Azfe Feb 17, 2026
ec2cad9
Merge pull request #135 from Azfe/feature/issue-128-tests-api
Azfe Feb 17, 2026
ebc4f6f
feat: (#129) Add E2E tests for CV and contact message flows
Azfe Feb 17, 2026
4565ec4
fix: (#129) Run E2E tests on main/develop pushes and pull requests
Azfe Feb 17, 2026
5c374a4
fix: (#129) Fix E2E tests — robust DB cleanup and match actual app be…
Azfe Feb 17, 2026
9f7c416
fix: (CI) Accept 'skipped' as valid result for E2E
Azfe Feb 17, 2026
b42471e
fix: (CI) Fix E2E test isolation and CI workflow
Azfe Feb 17, 2026
d3255f6
fix: (CI) Fix linting
Azfe Feb 17, 2026
928249c
fix: (CI) _ensure_clean_db depend of client now
Azfe Feb 17, 2026
b895368
Merge pull request #136 from Azfe/feature/issue-129-tests-e2e
Azfe Feb 17, 2026
f52f307
fix: Rename the pytest.ini file located within the tests directory so…
Azfe Feb 17, 2026
36a6331
Merge pull request #138 from Azfe/fix/pytest-e2e
Azfe Feb 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,7 @@ jobs:
black --check app/ tests/
echo "::endgroup::"

echo "::group::isort"
isort --check-only app/ tests/
echo "::endgroup::"

echo "::group::Ruff"
echo "::group::Ruff (includes import sorting)"
ruff check app/ tests/
echo "::endgroup::"

Expand All @@ -75,7 +71,6 @@ jobs:
echo "| Check | Status |" >> $GITHUB_STEP_SUMMARY
echo "|-------|--------|" >> $GITHUB_STEP_SUMMARY
echo "| Black | ✅ |" >> $GITHUB_STEP_SUMMARY
echo "| isort | ✅ |" >> $GITHUB_STEP_SUMMARY
echo "| Ruff | ✅ |" >> $GITHUB_STEP_SUMMARY
echo "| Ruff (+ imports) | ✅ |" >> $GITHUB_STEP_SUMMARY
echo "| MyPy | ✅ |" >> $GITHUB_STEP_SUMMARY
echo "| Security | ℹ️ (non-blocking) |" >> $GITHUB_STEP_SUMMARY
13 changes: 10 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ jobs:
name: E2E Tests
runs-on: ubuntu-latest
needs: [unit-tests, integration-tests]
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop')
if: >-
(github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop'))
|| github.event_name == 'pull_request'
services:
mongodb:
image: mongo:8.0
Expand Down Expand Up @@ -201,19 +203,21 @@ jobs:
test-summary:
name: All Tests Passed
runs-on: ubuntu-latest
needs: [unit-tests, integration-tests]
needs: [unit-tests, integration-tests, e2e-tests]
if: always()

steps:
- name: Check test results
run: |
if [[ "${{ needs.unit-tests.result }}" == "success" && "${{ needs.integration-tests.result }}" == "success" ]]; then
E2E="${{ needs.e2e-tests.result }}"
if [[ "${{ needs.unit-tests.result }}" == "success" && "${{ needs.integration-tests.result }}" == "success" && ("$E2E" == "success" || "$E2E" == "skipped") ]]; then
echo "✅ All tests passed!"
exit 0
else
echo "❌ Some tests failed"
echo "Unit tests: ${{ needs.unit-tests.result }}"
echo "Integration tests: ${{ needs.integration-tests.result }}"
echo "E2E tests: $E2E"
exit 1
fi

Expand All @@ -226,3 +230,6 @@ jobs:
echo "|-------|--------|" >> $GITHUB_STEP_SUMMARY
echo "| Unit Tests | ${{ needs.unit-tests.result == 'success' && '✅' || '❌' }} ${{ needs.unit-tests.result }} |" >> $GITHUB_STEP_SUMMARY
echo "| Integration Tests | ${{ needs.integration-tests.result == 'success' && '✅' || '❌' }} ${{ needs.integration-tests.result }} |" >> $GITHUB_STEP_SUMMARY
E2E_RESULT="${{ needs.e2e-tests.result }}"
if [[ "$E2E_RESULT" == "success" ]]; then E2E_ICON="✅"; elif [[ "$E2E_RESULT" == "skipped" ]]; then E2E_ICON="⏭️"; else E2E_ICON="❌"; fi
echo "| E2E Tests | $E2E_ICON $E2E_RESULT |" >> $GITHUB_STEP_SUMMARY
Loading
Loading