Confirmed users
30
edits
Line 167: | Line 167: | ||
Testing will be more general sequence of request/response data inject into calendar. That way we can make sure calendar operations are taking place according to RFCs and reacts to predefined behaviour according to given responses. XPCshell based unit test will provide preloaded response data imitating various CalDav server behaviours. | Testing will be more general sequence of request/response data inject into calendar. That way we can make sure calendar operations are taking place according to RFCs and reacts to predefined behaviour according to given responses. XPCshell based unit test will provide preloaded response data imitating various CalDav server behaviours. | ||
Unit test will basically create a temporary HTTP server on localhost using [https://developer.mozilla.org/en-US/docs/Httpd.js/HTTP_server_for_unit_tests httpd.js]. Calendar will send sync requests to the server and server will respond to them with different | Unit test will basically create a temporary HTTP server on localhost using [https://developer.mozilla.org/en-US/docs/Httpd.js/HTTP_server_for_unit_tests httpd.js]. Calendar will send sync requests to the server and server will respond to them with different response data. Calendar reactions will be asserted against expected values. | ||
==Releases== | ==Releases== |