Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

Add macro to perform pluggy assertions #16

Merged
merged 1 commit into from
Nov 8, 2021

Conversation

Danielwsx64
Copy link
Contributor

Motivation

Provide a better way to do assertions about Pluggy received conn

Proposed solution

  • Added a function on bypass_expect macro's flow to send a message to caller after validate the conn. That message contains the most important conn data.
  • Created macro assert_pluggy to listen process message and perform assertions with received conn
  • Compile Bypass helpers just if Bypass module is loaded (most cases only in test environment)

@Danielwsx64 Danielwsx64 added type:improve New feature or request level:advanced labels Apr 30, 2021
@Danielwsx64 Danielwsx64 self-assigned this Apr 30, 2021
@Danielwsx64 Danielwsx64 merged commit 84898fe into feat/get-transactions Nov 8, 2021
@Danielwsx64 Danielwsx64 deleted the feat/add-pluggy-test-assert branch November 8, 2021 12:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
level:advanced type:improve New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant