A test case class intended to make integration tests of cake console commands easier.
A test case class intended to make integration tests of your controllers easier.
This test class provides a number of helper methods and features that make dispatching requests and checking their responses simpler. It favours full integration tests over mock objects as you can test more of your code easily and avoid some of the maintenance pitfalls that mock objects create.
Class that dispatches to the legacy ShellDispatcher using the same signature as the newer CommandRunner
Dispatches a request capturing the response for integration testing purposes into the Routing\Dispatcher stack.
Allows injecting mock IO into shells
Dispatches a request capturing the response for integration testing purposes into the Cake\Http stack.
Cake TestCase class
TestEmailTransport
Set this as the email transport to capture emails for later assertions
A class to contain test cases and run them with shared fixtures
A test case class intended to make integration tests of cake console commands easier.
Email and mailer assertions.
Make assertions on emails sent through the Cake\TestSuite\TestEmailTransport
After adding the trait to your test case, all mail transports will be replaced with TestEmailTransport which is used for making assertions and will not actually send emails.
A trait intended to make integration tests of your controllers easier.
This test class provides a number of helper methods and features that make dispatching requests and checking their responses simpler. It favours full integration tests over mock objects as you can test more of your code easily and avoid some of the maintenance pitfalls that mock objects create.
Compare a string to the contents of a file
Implementing objects are expected to modify the $_compareBasePath property
before use.