All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Initial release of vue-testing-library-stubs
getStub()- Create basic stub componentsgetStubWithProps()- Create stubs that display props in testable formatgetEmittingStub()- Create stubs that emit eventsgetEmittingStubWithProps()- Create stubs with both props and eventsgetMultiEmittingStubWithProps()- Create stubs that emit multiple eventsgetExposedValidateStub()- Create stubs with validation methodsgetExposedValidateStubWithProps()- Create stubs with validation and propsgetTemplateComponentForExposedFunction()- Create wrapper components for testing exposed functions- Full TypeScript support with type definitions
- Support for both
@vue/test-utilsand@testing-library/vue - Comprehensive documentation with usage examples
- MIT License
- GitHub Actions CI/CD workflows
- Automatic conversion of hyphenated prop names to camelCase
- Props displayed in testable
propName-valueformat - JSON stringification for object props
- Function name display for validation rule arrays
- Event emission with custom payloads
- Form validation testing support