It currently just returns True when executing command and returns data when executing a query. We may want to update this later to return the state of various gates for groups, programs, percentage of users, etc.
If a feature is not found that is expected to be there it raises a FeatureNotFound error
Other functions are idempotent. So #add, #remove, #enable, #disable can be called multiple times without unexpected behavior.
Changelog
Add bin/ci to quickly run CI suite
Add a pile of tests. So many tests. The best tests.
Add test fixtures for the calls out to the posthog API
Remove the mongo adapter as that won't be needed anytime soon
Design considerations
FeatureNotFound
error#add
,#remove
,#enable
,#disable
can be called multiple times without unexpected behavior.Changelog
Next release