Replies: 1 comment
-
|
It seems like the "simpler wrapper" will actually do quite a bit of what I'm realizing that
For testing Logic I've identified so far that would fall under the "wrapping" category:
Logic that's not required for unit-testing
Requires more thought:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We ought to have isolated tests for the
FormatDriverimplementations. Currently, they are tested only in the context ofMainDriver, which has the risk of handling and recovering from errors caused by bugs.Despite implementing the
MongoDriverinterface, they don't actually obey the entire contract, because they don't implementinitialRootorrefurbish, instead implementingloadAllStateandinitializeCollection. That means they can't serve as the actual driver of aBoskas-is. It's conceivable they could be tested without aBoskobject, but that's probably not realistic.We probably need a simpler wrapper to stand in for
MainDriverbut without all the fault tolerance logic. Then, theFormatDriverconformance tests could be a superset ofDriverConformanceTestplus some additional tests as appropriate.Beta Was this translation helpful? Give feedback.
All reactions