Add: Unit tests for habit_bot and stock_tracker

- tests/test_habit_bot.py: Habit tracking, food logging, keto guidance
- tests/test_stock_tracker.py: Portfolio management, P&L calculation
- pytest.ini: Pytest configuration
- Updated Jenkinsfile: Emphasized testing stages before build

Pipeline stages:
1. Code Quality Gates (lint + security)
2. Unit Tests (pytest with coverage)
3. Integration Tests (Oracle, Telegram, Gitea)
4. Build (only after tests pass)
5. Deploy to Staging
This commit is contained in:
Joungmin
2026-02-19 03:32:43 +09:00
parent 6d9bc5980f
commit ceb52b2146
5 changed files with 704 additions and 90 deletions

1
tests/__init__.py Normal file
View File

@@ -0,0 +1 @@
# Tests package