Tree:
adcfaa0ca4
activedid_migration
ai-context
android-15-check
android-file-save
app_id_fix
ask-for-contacts-export
build-dev-to-dist
build-improvement
build-ios
build-web-serve-test
build-with-env
capacitor-local-save
claim-view-error-handling
claimview-fullfills-offer
contact-gifting-current-user
contacts-view-fixes
cross-platform-factory
cross-platform-factory-redux
d9085ced6df7dc7bdcd899959cea6489cab7f8b8
db-backup-cross-platform
deep-link
deep-links-android-update
deep_linking
design-tweaks-2023-12
dialog-styles-unified
didview-invalid-did-handling
electron_fix_20250317
experimental_plugin
eye-slash
fix-contact-import-export
fix-deep-link
fix-service-worker
friend-tech-inspired-pwa-dialog
get-get-hash
gifting-periphery-improvements
gifting-ui-2025-05
home-icon-enhancements
home-view-notification-improvements
homeview-cleanup-2025-03
homeview-refresh-2025-02
imagemagick-anrdoid
ios-contact-copy
logger-level
logging-upgrade
main
master
master-patch
master-settings-upgrade
matthew-scratch-2025-06-28
migrate-dexie-to-sqlite
nearby-filter
new-storage
nostr
notification-line-wrapping
notification-request-permission-dialog
notification-section
notify-time
offer-edit
offer-validation-logic
onboard-alert-component
onboarding-dialog-fix
passkey
passkey-cache
performance-optimizations-testing
photo-reverse
plan-loc
platformservicemixin-interface-consolidation
playwright-pwa-install-test
playwright-test-60-fix
playwright-test-updates
profile-pic
profile_include_location
project-gives
projectview-hide-offer-link-unregistered
qrcode-capacitor
registration-gate
remove-image-cache
replace-iconrenderer
script-build-mode
search-map-fix
side_step
simple-signer
split_build_process
sql-absurd-sql
sql-absurd-sql-further
sql-wa-sqlite
star-projects
starred-projects
streamline-attempt
sw-cleanup
tmp
trent-tweaks
tweaks
ui-fixes-2024-03
ui-fixes-2025-03
ui-fixes-2025-06-w2
units-mocking
v-onboarding-2024-04
vite-version
web-serve-fix
web-tests
0.1.8
0.2.1
0.2.11
0.2.17
0.2.2
0.2.4
0.3.35
0.3.50
0.3.51
0.3.52
0.3.53
0.3.54
0.3.55
0.3.56
0.3.57
0.4.1
0.4.2
0.4.3
0.4.4
0.5.8
0.5.9
1.0.0
1.0.2
1.0.4
${ noResults }
3 Commits (adcfaa0ca45f72c273c716d3246e7862f77bc439)
Author | SHA1 | Message | Date |
---|---|---|---|
|
adcfaa0ca4 |
feat: implement centralized test utilities and dynamic data factories
Create comprehensive centralized testing infrastructure with consistent patterns for component testing, dynamic data generation, and standardized test utilities across all simple components. - Create centralized component testing utilities (componentTestUtils.ts) with: * Component wrapper factory for consistent mounting patterns * Test data factory for dynamic data generation * Lifecycle testing utilities (mounted, updated, unmounted) * Computed properties testing with validation * Watcher testing with prop change simulation * Performance testing with configurable thresholds * Accessibility testing with WCAG compliance checks * Error handling testing with comprehensive scenarios * Event listener mocking utilities - Enhance test data factories (contactFactory.ts) with: * Dynamic data generation using timestamps and random IDs * Centralized test data factory pattern * Characteristic-based contact creation * Array generation for list testing * Invalid data scenarios for error testing - Add comprehensive example implementation (centralizedUtilitiesExample.ts): * Full integration demonstration of all utilities * Step-by-step usage patterns * Best practices for consistent testing * Complete workflow from setup to validation - Update test documentation with: * Centralized utilities usage guide * File structure documentation * Code examples for all utility functions * Integration patterns and best practices - Demonstrate centralized utilities in RegistrationNotice.test.ts: * Component wrapper factory usage * Lifecycle testing with centralized utilities * Computed properties validation * Watcher testing with prop changes * Performance testing with realistic thresholds * Accessibility testing with WCAG standards * Error handling with comprehensive scenarios Improves test maintainability, reduces code duplication, and provides consistent patterns for all component testing while ensuring 100% coverage and comprehensive error handling across all simple components. |
3 weeks ago |
|
8916243c32 |
Expand test utilities with comprehensive factories, mocks, and assertion helpers
- Add 15+ factory functions for different data types (projects, accounts, users, etc.) - Add 6+ mock service factories (API client, notifications, auth, database, etc.) - Add 15+ assertion utilities for comprehensive component testing - Add 4+ component testing utilities for responsive, theme, and i18n testing - Create comprehensive example demonstrating all enhanced utilities - Maintain 175 tests passing with 100% success rate - Establish standardized patterns for comprehensive Vue.js component testing New utilities include: - Factory functions: createMockProject, createMockAccount, createMockUser, etc. - Mock services: createMockApiClient, createMockNotificationService, etc. - Assertion helpers: assertRequiredProps, assertPerformance, assertAccessibility, etc. - Component testing: testPropCombinations, testResponsiveBehavior, etc. Files changed: - src/test/utils/testHelpers.ts (enhanced with new utilities) - src/test/factories/contactFactory.ts (expanded with new factory functions) - src/test/examples/enhancedTestingExample.ts (new comprehensive example) |
3 weeks ago |
|
00a0ec4aa7 |
Enhance test infrastructure with standardized patterns and factories
- Add comprehensive contact factory with 3 complexity levels (simple, standard, complex) - Create centralized test utilities with performance, accessibility, and error helpers - Standardize test data patterns across all component tests - Add test data factories for RegistrationNotice, ProjectIcon, and ContactBulkActions - Improve test structure consistency with better beforeEach patterns - All 149 tests passing with enhanced error handling and performance testing - Establish foundation for scalable test development with reusable utilities Files changed: - src/test/factories/contactFactory.ts (new) - src/test/utils/testHelpers.ts (new) - src/test/LargeIdenticonModal.test.ts (updated) - src/test/RegistrationNotice.test.ts (updated) - src/test/ProjectIcon.test.ts (updated) - src/test/ContactBulkActions.test.ts (updated) |
3 weeks ago |