Page MenuHomePhabricator

Develop unit tests for the HTTP API
Closed, ResolvedPublic

Description

The current Parsoid unit tests (parserTests.js and friends) use Parsoid as a library directly. This means that the HTTP API code paths are not tested, leadig to issues like https://wikitech.wikimedia.org/wiki/Incident_documentation/20131104-Parsoid .

We should develop some way of unit-testing all the HTTP API endpoints.


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=56601

Details

Reference
bz56730

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:16 AM
bzimport added a project: Parsoid-Tests.
bzimport set Reference to bz56730.

Resolving this as a duplicate of 56601, which is also about using the HTTP API from roundtrip-test.js.

  • This bug has been marked as a duplicate of bug 56601 ***