Skip to content

Caesarsage/microcks-testcontainers-python

Repository files navigation

Unofficial Microcks Testcontainers Python

Python library for Testcontainers that enables embedding Microcks into your unit tests with lightweight, throwaway instances.

Installation

Note: This package is not yet published on PyPI. Install directly from GitHub:

pip install git+https://github.com/Caesarsage/microcks-testcontainers-python.git

Usage

from microcks_testcontainers import MicrocksContainer

with MicrocksContainer().with_main_artifacts(["my-api.yaml"]) as mc:
    endpoint = mc.get_rest_mock_endpoint("My API", "1.0")
    # Use the endpoint in your tests

License

Apache License, Version 2.0

About

Python library for Testcontainers that enables embedding Microcks into your unit tests with lightweight, throwaway instances thanks to containers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages