Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 1.18 KB

README.md

File metadata and controls

17 lines (10 loc) · 1.18 KB

Unit Test Interface

A web page that opens a websocket (wss://litcal-test.johnromanodorazio.com) to the unit test server, sends unit test requests in succession and collects the response data asynchronously, showing results graphically on the page as they come in.

The web page makes use of jQuery, Bootstrap, and Fontawesome.

Some notes about the Unit Test server

The websocket server is at https://github.com/Liturgical-Calendar/LiturgicalCalendarAPI/blob/development/LitCalTestServer.php.

The main logic for the Unit Test server is at https://github.com/Liturgical-Calendar/LiturgicalCalendarAPI/blob/development/LitCalHealth.php.

The Unit Test server implements Ratchet to create the websocket server that listens for client connections.

The Unit Test server also implements Swaggest/php-json-schema to validate JSON source files or outputs against predefined schemas.

The Unit Test server also implements PHP Unit to carry out specific unit tests.