upskill-event-manager/wordpress-dev/tests/e2e/test-data/index.ts
bengizmo d6211ee364 feat(testing): Implement HVAC_Test_User_Factory and update .gitignore
- Add HVAC_Test_User_Factory class with:
  * User creation with specific roles
  * Multiple role support
  * Persona management system
  * Account cleanup integration
- Create comprehensive test suite in HVAC_Test_User_Factory_Test.php
- Update testing improvement plan documentation
- Add implementation decisions to project memory bank
- Restructure .gitignore with:
  * Whitelist approach for better file management
  * Explicit backup exclusions
  * Specific bin directory inclusions

Part of the Account Management component from the testing framework improvement plan.
2025-04-14 17:41:36 -03:00

27 lines
No EOL
809 B
TypeScript

// Types
export * from '../types';
// Event Management
export * from './events/eventDefinitions';
export * from './events/eventManager';
// User Personas
export * from './personas/userPersonas';
// Environment Management
export * from './environment/config';
export * from './environment/testEnvironmentManager';
// Convenience function to initialize test environment
export async function initializeTestEnvironment() {
const { testEnv } = await import('./environment/testEnvironmentManager');
await testEnv.setup();
await testEnv.verify();
return testEnv;
}
// Convenience function to clean up test environment
export async function cleanupTestEnvironment(force = false) {
const { testEnv } = await import('./environment/testEnvironmentManager');
await testEnv.teardown(force);
}