Skip to content

Implement "Ts.ED" DI Framework Integration with Automock #105

@omermorad

Description

@omermorad

Description

Automock is designed to seamlessly integrate with various Dependency Injection (DI) frameworks, providing developers with a streamlined experience for mocking dependencies in their unit tests. As part of our ongoing efforts to enhance Automock's DI framework integration, we are looking to add support for the Ts.ED DI library.

Ts.ED is a framework on top of Express/Koa to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone.

Requirements:

  1. Integration Tests: Ensure that the adapter is thoroughly tested with integration tests. This will help in verifying the correct behavior of the adapter with Ts.ED DI (@tsed/di).

  2. End-to-End Tests: Add E2E tests to validate the complete functionality and ensure that the adapter works seamlessly with real-world applications using Ts.ED DI.

  3. Performance: Ensure that the adapter's performance is optimized and does not introduce any significant overhead.

  4. Error Handling: Implement comprehensive error handling to provide clear and actionable feedback to the users in case of any issues.

Additional Notes:

  • Familiarize yourself with the existing adapters in Automock to maintain consistency in design and implementation.
  • Ensure that the adapter is compatible with the latest version of Ts.ED.

Contribution ❤️

This issue is marked as a "good first issue", making it a great opportunity for contributors who are new to the project or looking for a starting point. If you're interested in working on this, please comment below, and don't hesitate to ask questions or seek clarifications.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions