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

Add API command to create fake events #271

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

johannaengland
Copy link
Contributor

@johannaengland johannaengland commented Jun 24, 2024

Closes #268. Part of #243.

The reason why this is a draft PR is that I am not happy, that the subindex is not optional, because when trying to create a ReachabilityEvent it should be possible to only have the device name and reachability as input. But I do not know how to implement that.

I was also considering having the possibility of no input or just the input of router and/or event type and randomly generating the other not given values. Is that desirable?

Copy link

codecov bot commented Jun 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.21%. Comparing base (19ded46) to head (3a33f0c).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #271      +/-   ##
==========================================
+ Coverage   98.20%   98.21%   +0.01%     
==========================================
  Files          64       64              
  Lines        7930     7969      +39     
==========================================
+ Hits         7787     7826      +39     
  Misses        143      143              

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

@johannaengland johannaengland force-pushed the api/fake-event branch 2 times, most recently from 627dc08 to c852b80 Compare June 24, 2024 11:28
@johannaengland johannaengland force-pushed the api/fake-event branch 3 times, most recently from 9591f9a to c49c994 Compare July 8, 2024 12:02
@johannaengland johannaengland force-pushed the api/fake-event branch 2 times, most recently from 5546eb8 to f8ff1f2 Compare July 25, 2024 11:06
Copy link

sonarcloud bot commented Aug 13, 2024

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.

Implement an API command that creates fake events
1 participant