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

[WIP] Unit tests with the new fluent api #518

Closed

Conversation

AnthonySteele
Copy link
Contributor

@AnthonySteele AnthonySteele commented Feb 17, 2019

Summarise the changes this Pull Request makes.

Work towards deprecating the old fluent api and using the new one instead. Trying to port a unit test by building a base class UnitTestBase to replace JustSayingFluentlyTestBase.

I found that the IVerifyAmazonQueues instance needs to be injectable.

The tests in WhenAddingASubscriptionHandler that are commented out depend on verifying against a mock IAmJustSaying Bus.

What equivalent should be mocked, if any? Do these tests still make sense?

Please include a reference to a GitHub issue if appropriate.

@AnthonySteele AnthonySteele requested a review from a team as a code owner February 17, 2019 16:43
@AnthonySteele AnthonySteele added this to the v7.0.0 milestone Feb 17, 2019
@martincostello martincostello changed the title Unit tests with the new fluent api [WIP] Unit tests with the new fluent api Feb 17, 2019
@stale
Copy link

stale bot commented Apr 14, 2019

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 14, 2019
@martincostello
Copy link
Member

@AnthonySteele Are you going to come back to this PR? If not we can close it, then I'll do a PR to shift the code around into src and tests before we do any more.

@stale stale bot removed the wontfix label Apr 18, 2019
@martincostello martincostello removed this from the v7.0.0 milestone May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants