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
Cool! We'd have to make sure to test the storage in a way which doesn't effect the storage. Because folks might have sensitive data in there or triggers for changes like Firebase has. So this might not be desirable.
You could just inspect the interface and make sure all required methods are present. I don't think there's much you can do beyond that without writing/fetching data. I agree with @RafaelCosman that you wouldn't want to do that as part of a test.
A generic solution to testing and enforcing tests for separate storage units can be found.
Proposed solution is:
After initialization of the controller:
Botkit.slackbot constructor can automatically test the storage tests and if test fails, we prompt a message to user and terminate the botkit process.
If
--force
is used, we skip the test and run the application without any testing.The text was updated successfully, but these errors were encountered: