Last modified: 2013-12-03 22:21:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T58730, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56730 - Develop unit tests for the HTTP API
Develop unit tests for the HTTP API
Status: RESOLVED DUPLICATE of bug 56601
Product: Parsoid
Classification: Unclassified
tests (Other open bugs)
unspecified
All All
: High enhancement
: ---
Assigned To: Marc Ordinas i Llopis
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-07 18:46 UTC by Marc Ordinas i Llopis
Modified: 2013-12-03 22:21 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Marc Ordinas i Llopis 2013-11-07 18:46:46 UTC
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.
Comment 1 Gabriel Wicke 2013-12-03 22:21:30 UTC
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 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links