test_component
Provide auxiliary models and components that enable automated testing of the OCA connector component framework.
Key Features
- test.component.collection: Adds a lightweight collection model inheriting from the connector base to anchor component test scenarios.
- component framework: Extends the generic base component with a method that returns a sentinel value to validate inheritance chains.
- mapper: Provides a stub component exposing a method used to confirm abstract component inheritance.
- test.mapper: Registers an import mapper tied to the test collection to exercise prototype inheritance and name lookups.
- res.users: Declares a component registered on users with a custom usage so tests can assert lookups by usage and name.