Skip to content

refactor: use Hathor simulator on events simulator CLI #758

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

Merged
merged 1 commit into from
Sep 1, 2023

Conversation

glevco
Copy link
Contributor

@glevco glevco commented Aug 25, 2023

Motivation

Both the Events Simulator CLI tool and the events simulator scenarios tests were very similar (in fact, they were doing the same thing), using a hardcoded event list as fixtures. The CLI tool can simply use the Simulator class to actually generate the events, like it's done in the unit tests.

Acceptance Criteria

  • Unify code of events simulation unit tests and CLI tool

Checklist

  • If you are requesting a merge into master, confirm this code is production-ready and can be included in future releases as soon as it gets merged

@glevco glevco added the enhancement New feature or request label Aug 25, 2023
@glevco glevco self-assigned this Aug 25, 2023
@glevco glevco marked this pull request as ready for review August 25, 2023 19:53
@codecov
Copy link

codecov bot commented Aug 25, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.07% ⚠️

Comparison is base (78229b7) 84.78% compared to head (50deb84) 84.72%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #758      +/-   ##
==========================================
- Coverage   84.78%   84.72%   -0.07%     
==========================================
  Files         259      259              
  Lines       21900    21900              
  Branches     2960     2960              
==========================================
- Hits        18569    18554      -15     
- Misses       2687     2702      +15     
  Partials      644      644              

see 6 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@glevco glevco force-pushed the refactor/event-simulator-cli branch 2 times, most recently from 9f518c5 to 8c1b925 Compare August 28, 2023 23:07
@glevco glevco force-pushed the refactor/event-simulator-cli branch from 8c1b925 to 50deb84 Compare August 30, 2023 15:18
@jansegre jansegre merged commit 91b2676 into master Sep 1, 2023
@jansegre jansegre deleted the refactor/event-simulator-cli branch September 1, 2023 19:01
This was referenced Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants