-
Notifications
You must be signed in to change notification settings - Fork 140
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
Let integration tests generic over externs #664
Let integration tests generic over externs #664
Conversation
Codecov Report
@@ Coverage Diff @@
## master #664 +/- ##
==========================================
+ Coverage 50.08% 51.05% +0.96%
==========================================
Files 120 120
Lines 9883 9694 -189
==========================================
- Hits 4950 4949 -1
+ Misses 4933 4745 -188
|
Thank you for that it's awesome ! Sorry for the delay :( Opened a PR on yours to add mock behavior to those dummies 👍 |
mock behaviour for dummy externs
thanks! @tchataigner sorry for the delay as well :\ |
@@ -50,7 +51,7 @@ pub fn main() { | |||
.unwrap(); | |||
|
|||
// Instantiate machine | |||
tester.instantiate_machine().unwrap(); | |||
tester.instantiate_machine(DummyExterns).unwrap(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we could do some magic here with a default implementation for the Externs type param, but this is good enough ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it does the job ! Thank you for handling it !
@tchataigner