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

Improvements for testing utils (Part 3) #1252

Merged
merged 35 commits into from
Mar 23, 2020
Merged

Conversation

alexander-yevsyukov
Copy link
Contributor

@alexander-yevsyukov alexander-yevsyukov commented Mar 18, 2020

This PR introduces the following improvement:

  • Breaking change: Most of the @Internal methods of BoundedContext moved to its internal class InternalAccess instance of which is available via the internalAccess() method.
    The method is available only to the server-side framework code.
  • Breaking change:BlackBoxBoundedContext was renamed to BlackBoxContext.
  • Creation of BlackBoxContext from BoundedContextBuilder was simplified.
  • Breaking change: Simplified combinations of UserId and ZoneId parameters of BlackBoxContext.
  • TestActorRequestFactory no longer requires ZoneOffset. It's calculated from ZoneId.
  • Removed previously deprecated methods of BlackBoxCountext.
  • Removed deprecated factory methods of TestEventFactory.

Also:
 * Simplify code flow for reading.
 * Reorder ctor. parameters.
@alexander-yevsyukov alexander-yevsyukov self-assigned this Mar 18, 2020
@codecov
Copy link

codecov bot commented Mar 18, 2020

Codecov Report

Merging #1252 into master will not change coverage by %.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1252   +/-   ##
=========================================
  Coverage     91.06%   91.06%           
  Complexity     4639     4639           
=========================================
  Files           596      596           
  Lines         14678    14678           
  Branches        831      831           
=========================================
  Hits          13367    13367           
  Misses         1048     1048           
  Partials        263      263           

@alexander-yevsyukov alexander-yevsyukov marked this pull request as ready for review March 21, 2020 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants