• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

aphiria / exceptions / 37
100%
1.x: 100%

Build:
Build:
LAST BUILD BRANCH: v1.0.0-alpha11
DEFAULT BRANCH: 1.x
Ran 02 May 2020 10:28PM UTC
Jobs 1
Files 6
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
37

push

travis-ci-com

web-flow
Added integration test functionality for API applications (#36)

* Started adding some classes for integration testing

* WIP - Started stubbing out response assertions, but still need a way of parsing some response headers and negotiating the response body

* WIP - Added the ability to read Set-Cookie headers and parse them into Cookie objects

* WIP - Started adding logic for assertions on response bodies

* WIP - Removed Expires param from cookies in favor of all-in adoption of Max-Age (Expires was only really useful for very old browsers, and Max-Age is the preferred way forward), added the ability to pass a parsed response body through a callback to assert that it passes

* WIP - Refactored GEH to split out the log level factory logic so it could be reused in an exception handler middleware (useful for making assertions on exception responses because unhandled exceptions that hit the GEH aren't really testable in PHPUnit)

* WIP - Refactored ApiExceptionRenderer to implement a new interface for easier customization, added ExceptionHandler middleware to simplify testing of responses that result from exceptions

* Ran linter

* WIP - Updated binders to use new interface for IApiExceptionRenderer, updated ApplicationClient to take in an app builder so that we could override the request that's bound per integration test (overriding the one created in RequestBinder), fixed doc comments

* Fixed requests in integration tests so that they're 1) Using the request that's sent to the client, and 2) Still causing RequestBinder to be dispatched, which also dispatches any other binders that depend on IRequest

* WIP - Added an integration test base class that can be used to run PHPUnit tests

* Split out getting the integration test case application to an abstract method that's implemented in App

* Refactored ApplicationClient to implement a new interface IHttpClient, moved RequestBuilder into the Net library, started adding tests

... (continued)

41 of 41 relevant lines covered (100.0%)

2.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37.1 02 May 2020 10:28PM UTC 0
100.0
Travis Job 37.1
Source Files on build 37
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #37
  • 6671a77d on github
  • Prev Build on master (#36)
  • Next Build on master (#171894868)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc