-
Make it possible to mock libraries in contracts.
Example:
I am using my own library **Lib** with struct **Lib.Str** in my contract **Con**.
`using Lib for Lib.Str;`
My **Lib** has few methods …
-
## RNTL Cookbook
RNTL is feature-complete, so the next big frontier is documenting and sharing best practices so our users can get the most out of using RNTL. Specifically, we could have a signific…
-
#1864 adds a test to validator that mocks out an HTTP request using the `requests_mock` library. That tests file also includes a mechanism to manually mock out HTTP requests [using a custom class](htt…
-
Hello, love the library.
I am looking to see if there are examples available for testing / mocking the outputs. I have tried a number of methodologies to mock the output. I hope that I am able to t…
-
Create a reference guide for consumers of `simple-git` showing a preferred way to mock `simple-git` in their applications
-
I often need to assert that an object representing a specific database row (ActiveRecord instance, for example). This falls apart when the database query is made in a place outside the control of the …
-
I'm wanting to write unit tests for an existing lua file using Busted.
I want to mock some of the methods that the file calls are pulled in from other lua-libraries.
(ie: require 'resty.http’)
l…
-
I'd like to use Kotlin and the MockK library to generate mocks for cdi-test, but cdi-test doesn't seem to pick up de annotated mocks.
I'd like some hints as to how I can extend cdi-test to support Mo…
-
#56 disabled tests that expected the old serial library, but we need to migrate PacketSerial to using our mocking strategy.
X-sam updated
8 months ago
-
# Use Case
I'm working on improving my build times and previews speed and reliability by turning all of my major features into Packages. The strategy is to hide every dependency behind a protocol, an…