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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pact Consumer #410

Merged
merged 6 commits into from
Oct 12, 2023
Merged

Pact Consumer #410

merged 6 commits into from
Oct 12, 2023

Commits on Oct 12, 2023

  1. docs(v3): update ffi documentation

    Specifically want to make it clear how this module is going to be
    implemented, and lay down guidelines to be followed going forward.
    
    Signed-off-by: JP-Ellis <josh@jpellis.me>
    JP-Ellis committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    7286ff4 View commit details
    Browse the repository at this point in the history
  2. chore(tests): remove empty file

    Signed-off-by: JP-Ellis <josh@jpellis.me>
    JP-Ellis committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    430f6d0 View commit details
    Browse the repository at this point in the history
  3. chore(v3): add str and repr to enums

    This helps makes enums more manageable during logging and debugging.
    
    The `D200` Ruff lint is ignored, ensuring that single-line docstrings
    use the same formatting as the remaining docstrings.
    
    Signed-off-by: JP-Ellis <josh@jpellis.me>
    JP-Ellis committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    9751262 View commit details
    Browse the repository at this point in the history
  4. chore(test): move pytest cli args definition

    The `--broker-url` PyTest CLI argument is used by the examples to
    determine whether a Broker is automatically launched, or whether an
    existing broker is used.
    
    All PyTest CLI arguments _must_ be defined in the root directory of the
    project. As a result, the previous location where these arguments were
    defined meant that the examples could only be launched of PyTest was
    specifically pointed at the `examples/` directory.
    
    This commit moves the definition to the root directory, thereby unifying
    the `examples/` with the remaining tests.
    
    Signed-off-by: JP-Ellis <josh@jpellis.me>
    JP-Ellis committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    7be27b8 View commit details
    Browse the repository at this point in the history
  5. feat(v3): implement pact class

    This (rather large) commit implements core functionality for the `Pact`
    class, and the `Interaction` class to handle specific interactions
    within a Pact.
    
    This does _not_ implement every method that Pacts and/or interactions
    might have (e.g., it is currently not possible to specify a Pact
    version). The intent of this commit is to be a minimal working example
    which can be improved upon more incrementally.
    
    Signed-off-by: JP-Ellis <josh@jpellis.me>
    JP-Ellis committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    28cb32d View commit details
    Browse the repository at this point in the history
  6. ci: add g++ to cirrus linux image

    YOU54F authored and JP-Ellis committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    2168d22 View commit details
    Browse the repository at this point in the history