Skip to content

feat(events): CLI tool for testing event integration#539

Merged
glevco merged 1 commit intodevfrom
feat/event-tests
Mar 10, 2023
Merged

feat(events): CLI tool for testing event integration#539
glevco merged 1 commit intodevfrom
feat/event-tests

Conversation

@glevco
Copy link
Copy Markdown
Contributor

@glevco glevco commented Mar 8, 2023

Acceptance Criteria:

  • Implement new events_simulator CLI command to enable a dummy stream of events to a WebSocket endpoint, simulating real scenarios
    • Option --scenario to choose the scenario between SINGLE_CHAIN, BEST_CHAIN_WITH_SIDE_CHAINS, and MULTIPLE_FORKS
    • Option --port to chose the WebSocket server port
  • Actual list of dummy events for each scenario not implemented yet.*

*That's as simple as setting the list of BaseEvents for each scenario in the scenario.py file. This will be done in a separate PR after pending design discussions and definition of which events should be emitted in each case. Creating this list should be almost a 1:1 conversion from the list of events that will be specified in the design.

@glevco glevco self-assigned this Mar 8, 2023
@glevco glevco changed the base branch from master to dev March 10, 2023 02:28
@glevco glevco changed the title feat(events): build testing cases for integrations feat(events): CLI tool for testing event integration Mar 10, 2023
@glevco glevco force-pushed the feat/event-tests branch from 2d071c4 to 1685332 Compare March 10, 2023 02:35
@glevco glevco force-pushed the feat/event-tests branch from 1685332 to e74f8ff Compare March 10, 2023 02:36
@glevco glevco marked this pull request as ready for review March 10, 2023 02:37
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 10, 2023

Codecov Report

Merging #539 (e74f8ff) into dev (efe6f7d) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev     #539      +/-   ##
==========================================
- Coverage   83.20%   83.19%   -0.01%     
==========================================
  Files         211      211              
  Lines       18644    18644              
  Branches     2590     2590              
==========================================
- Hits        15512    15511       -1     
- Misses       2562     2563       +1     
  Partials      570      570              

see 2 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@glevco glevco merged commit 72e290b into dev Mar 10, 2023
@glevco glevco deleted the feat/event-tests branch March 10, 2023 16:49
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