Skip to content

Implement "TSyringe" DI Framework Integration with Automock #104

@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 TSyringe library.

TSyringe is a lightweight dependency injection container for TypeScript, developed by Microsoft.

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 TSyringe.

  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 TSyringe.

  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 TSyringe.

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