Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: introduce WireMock for testing #350

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Commits on Oct 13, 2024

  1. feat: introduce WireMock for testing

    - Added WireMockContainer to BrokenHttpLinksCheckerSpec for mocking HTTP responses.
    - progress towards fixing aim42#331
    - Configured WireMock to use mappings.json for predefined request-response mappings.
    RehanChalana committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    f960538 View commit details
    Browse the repository at this point in the history
  2. feat: implement CustomHostNameResolver for custom DNS resolution in t…

    …ests
    
    - progress towards fixing aim42#331
    RehanChalana committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    b2a1fa9 View commit details
    Browse the repository at this point in the history
  3. feat: enhance BrokenHttpLinksCheckerSpec to resolve from a list of ho…

    …stnames
    
    - progress towards fixing aim42#331
    RehanChalana committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    a330dbe View commit details
    Browse the repository at this point in the history
  4. feat: update test cases to use WireMock with Testcontainers and Custo…

    …mHostNameResolver
    
    - fixes aim42#331
    - Updated all URLs in test cases to use WireMock with Testcontainers.
    - Integrated CustomHostNameResolver to ensure tests run without internet.
    - Updated `mappings.json` with mappings for all test URLs.
    - Remove test for recognizing internet connectivity.
    RehanChalana committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    58b87db View commit details
    Browse the repository at this point in the history