You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cleanup the docker state (stopping && removing containers )
Propagate the effect final result back to the testing framework
This would potentially allow users to create tests as following
defwithApp=???//some code that start my application under test"My app" when "ready" should withServiceBoxUp { config =>valdbPort= config(Postgres.ref, Port(5432)).port
"obey a rule" withApp(config) { app =>//testCode goes here
}
"obey another rule" withApp(config) { app =>//testCode goes here
}
}
Because we don't want these to clutter the current modules of service box I would also propose adding them in a separate module.
The text was updated successfully, but these errors were encountered:
In order to facilitate testing and make service box easier to use in such context, one could provide a set of methods in order to reduce boilerplate.
I propose something like the following methods:
These methods would essentially
f
This would potentially allow users to create tests as following
Because we don't want these to clutter the current modules of service box I would also propose adding them in a separate module.
The text was updated successfully, but these errors were encountered: