1
0
forked from baron/baron-sso

CI test 업데이트

This commit is contained in:
Lectom C Han
2026-02-20 09:43:19 +09:00
parent 5d8697e361
commit 8ed3bd8c77
11 changed files with 714 additions and 401 deletions

View File

@@ -325,8 +325,8 @@ KETO_WRITE_URL = "http://keto:4467"
### 프런트 테스트 브라우저 프리비저닝 정책
- `userfront-tests`
- 실행 가능한 Chrome/Chromium을 탐지하고, 없으면 설치 후 테스트 실행
- `CHROME_EXECUTABLE` 지정 후 웹 테스트를 실행
- `flutter test`(VM)만 실행
- `locale_storage` 정책 테스트는 엔진 단위로 통합되어 별도 브라우저 실행이 필요하지 않음
- `adminfront-tests`, `devfront-tests`
- Playwright 기반 테스트
- `npx playwright install --with-deps`로 브라우저/OS 의존성을 사전 설치
@@ -340,11 +340,11 @@ KETO_WRITE_URL = "http://keto:4467"
- `adminfront-test-failure-report`
- `devfront-test-failure-report`
### userfront `skipped` 테스트 안내
- `locale_storage_platform_test.dart`웹 전용 테스트(`kIsWeb`)를 포함합니다.
- 따라서 일반 `flutter test`(VM)에서는 일부 테스트가 `skipped` 되는 것이 정상입니다.
- 실제 웹 실행 검증은 별도 단계에서 수행합니다.
- `flutter test --platform chrome test/locale_storage_platform_test.dart`
### userfront `locale_storage` 테스트 정책
- `locale_storage_platform_test.dart``LocaleStorageEngine` 기반 정책 테스트로 통합되었습니다.
- 일반 `flutter test`(VM) 실행에 포함되며, 브라우저 전용 `kIsWeb` 케이스를 사용하지 않습니다.
- 단일 파일만 확인하려면 다음 명령을 사용합니다.
- `flutter test test/locale_storage_platform_test.dart`
### 로컬 개발 (Manual)
Docker 없이는 개발할 수 없지만 Backend 및 [user/admin/dev]Front 코드는 개발모드로 수정하며 개발가능.