\RavenClientTest
Excercises RavenClient.
Synopsis
class RavenClientTest
extends SapphireTest
{
- // members
- protected boolean. $usesDatabase = true;
- // methods
- public void setUpOnce()
- public void testDefaultTagsAvailable()
- public void testdefaultUserDataAvailable()
- public void testExtrasAvailable()
Hierarchy
Extends
- SapphireTest
Members
protected
- $usesDatabase
—
boolean.
In the absence of fixture files, this is needed to force SaphhireTest into creating us a test DB.
Methods
public
- setUpOnce() — Setup a dummy Sentry DSN so our errors are not actually sent anywhere
- testDefaultTagsAvailable() — Assert that the module's default tags make it through to the reporting process.
- testExtrasAvailable() — Assert that custom "additional" (extra) data, (extras, tags env etc) makes it through to the reporting process.
- testdefaultUserDataAvailable() — Assert that custom "additional" (user) data makes it through to the reporting process.