1
0
forked from baron/baron-sso
Files
baron-sso/docs/test-plan/userfront-test-inventory.md
2026-02-20 09:43:19 +09:00

7.5 KiB

UserFront 테스트 전수 목록

  • 범위: userfront/test/*.dart
  • 기준: test(...), testWidgets(...) 케이스 전수
파일 테스트 역할
userfront/test/dashboard_providers_test.dart AuthTimelineNotifier는 다음 커서를 사용해 추가 로드한다 대시보드 타임라인 상태관리 검증
userfront/test/dashboard_providers_test.dart AuthTimelineNotifier는 실패 시 오류 메시지를 보관한다 대시보드 타임라인 상태관리 검증
userfront/test/dashboard_providers_test.dart AuthTimelineNotifier는 초기 페이지를 로드한다 대시보드 타임라인 상태관리 검증
userfront/test/dashboard_providers_test.dart AuthTimelineNotifier는 커서가 없으면 추가 로드를 하지 않는다 대시보드 타임라인 상태관리 검증
userfront/test/error_screen_test.dart 개발환경은 원문 메시지를 노출한다 에러 노출 정책 검증
userfront/test/error_screen_test.dart 프로덕션은 ORY 코드를 bypass 처리한다 핵심 동작 회귀 방지 검증
userfront/test/error_screen_test.dart 프로덕션은 whitelist 메시지를 노출한다 에러 노출 정책 검증
userfront/test/error_screen_test.dart 프로덕션은 비허용 에러를 unknown_error로 처리한다 에러 노출 정책 검증
userfront/test/locale_registry_test.dart extractSupportedLocaleCodesFromAssets excludes template and invalid i18n 로케일 해석/정규화 규칙 검증
userfront/test/locale_registry_test.dart fallback locale prefers en when available fallback/복구 경로 검증
userfront/test/locale_registry_test.dart fallback locale uses first sorted code when en is absent fallback/복구 경로 검증
userfront/test/locale_storage_platform_test.dart 기본 모드에서는 local 우선으로 저장/조회한다 locale 저장 우선순위 정책 검증
userfront/test/locale_storage_platform_test.dart legacy key를 읽으면 current key로 마이그레이션한다 legacy migration 회귀 방지 검증
userfront/test/locale_storage_platform_test.dart localStorage가 차단되면 sessionStorage로 fallback 한다 fallback/복구 경로 검증
userfront/test/locale_storage_platform_test.dart local/session 모두 차단되면 memory fallback 한다 fallback/복구 경로 검증
userfront/test/locale_storage_platform_test.dart sessionOnly 모드에서는 session + memory만 사용한다 테스트 강제 모드 정책 검증
userfront/test/locale_storage_platform_test.dart memoryOnly 모드에서는 memory만 사용한다 테스트 강제 모드 정책 검증
userfront/test/locale_utils_test.dart buildLocalizedPath applies locale i18n 로케일 해석/정규화 규칙 검증
userfront/test/locale_utils_test.dart buildLocalizedPath keeps unknown 2-letter prefix as path 리다이렉트/쿼리 보존 규칙 검증
userfront/test/locale_utils_test.dart buildLocalizedPath preserves fragment 리다이렉트/쿼리 보존 규칙 검증
userfront/test/locale_utils_test.dart buildLocalizedPath preserves query parameters 리다이렉트/쿼리 보존 규칙 검증
userfront/test/locale_utils_test.dart buildLocalizedPath preserves raw query order and duplicates 리다이렉트/쿼리 보존 규칙 검증
userfront/test/locale_utils_test.dart buildLocalizedPath preserves redirect_url parameter 리다이렉트/쿼리 보존 규칙 검증
userfront/test/locale_utils_test.dart buildLocalizedPath replaces existing locale i18n 로케일 해석/정규화 규칙 검증
userfront/test/locale_utils_test.dart buildSigninRedirectPath keeps path without query 리다이렉트/쿼리 보존 규칙 검증
userfront/test/locale_utils_test.dart buildSigninRedirectPath preserves full raw query 리다이렉트/쿼리 보존 규칙 검증
userfront/test/locale_utils_test.dart buildSigninRedirectPath preserves redirect_url and redirect_uri 리다이렉트/쿼리 보존 규칙 검증
userfront/test/locale_utils_test.dart extractLocaleFromPath picks locale when present i18n 로케일 해석/정규화 규칙 검증
userfront/test/locale_utils_test.dart extractLocaleFromPath returns null when missing fallback/복구 경로 검증
userfront/test/locale_utils_test.dart normalizeLocaleCode falls back to default i18n 로케일 해석/정규화 규칙 검증
userfront/test/locale_utils_test.dart normalizeLocaleCode handles supported locales i18n 로케일 해석/정규화 규칙 검증
userfront/test/locale_utils_test.dart stripLocalePath keeps path without locale 리다이렉트/쿼리 보존 규칙 검증
userfront/test/locale_utils_test.dart stripLocalePath removes locale segment i18n 로케일 해석/정규화 규칙 검증
userfront/test/login_challenge_resolver_test.dart URI query가 비어 있으면 raw search에서 복구 fallback/복구 경로 검증
userfront/test/login_challenge_resolver_test.dart raw search도 비어 있으면 raw href에서 복구 fallback/복구 경로 검증
userfront/test/login_challenge_resolver_test.dart widget 값이 없으면 URI query에서 복구 fallback/복구 경로 검증
userfront/test/login_challenge_resolver_test.dart widget 값이 있으면 최우선으로 사용 핵심 동작 회귀 방지 검증
userfront/test/login_challenge_resolver_test.dart 값이 전부 없으면 missing fallback/복구 경로 검증
userfront/test/oidc_redirect_guard_test.dart http/https 절대 URL만 허용 핵심 동작 회귀 방지 검증
userfront/test/oidc_redirect_guard_test.dart 빈 문자열과 파싱 실패를 차단 핵심 동작 회귀 방지 검증
userfront/test/password_login_flow_policy_test.dart OIDC challenge가 없고 jwt가 있으면 로컬 로그인 완료로 진행한다 로그인 분기/라우팅 규칙 검증
userfront/test/password_login_flow_policy_test.dart OIDC challenge가 있고 redirectTo가 없으면 accept를 시도한다 로그인 분기/라우팅 규칙 검증
userfront/test/password_login_flow_policy_test.dart redirectTo/jwt 모두 없으면 invalid로 처리한다 로그인 분기/라우팅 규칙 검증
userfront/test/password_login_flow_policy_test.dart redirectTo가 있으면 OIDC redirect를 우선한다 로그인 분기/라우팅 규칙 검증
userfront/test/router_redirect_widget_test.dart /login: login_challenge와 redirect_uri를 전달 리다이렉트/쿼리 보존 규칙 검증
userfront/test/router_redirect_widget_test.dart 로그인 상태: profile 접근 시 signin으로 리다이렉트하지 않음 로그인 분기/라우팅 규칙 검증
userfront/test/router_redirect_widget_test.dart 로그인 후 같은 브라우저 새 창/팝업에서도 세션이 유지된다 로그인 세션 지속성(동일 브라우저) 검증
userfront/test/router_redirect_widget_test.dart 비로그인: redirect_uri/login_challenge가 signin으로 전달 리다이렉트/쿼리 보존 규칙 검증
userfront/test/router_redirect_widget_test.dart 비로그인: redirect_uri가 없으면 redirect_url을 전달 리다이렉트/쿼리 보존 규칙 검증
userfront/test/widget_test.dart BaronSSOApp builds 기본 앱 렌더링 스모크 검증