https://bugzilla.wikimedia.org/show_bug.cgi?id=58025

       Web browser: ---
            Bug ID: 58025
           Summary: Unify Parsoid testing with a single top-level test.js
                    script
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: tests
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

(This is a continuation of the work done for bug #56590)

Right now Parsoid has two main testing scripts:
- roundtrip-test.js makes a single round-trip test for a page. It's also used
by the round-trip testing client.
- parserTests.js runs the parsing unit-tests described in parserTests.txt.

There are also some testing utilities in tests/, like parse.js.

It'd be good to provide a top-level test.js that made a few round-trip tests,
the unit testing, and any other tests we'd add (like HTTP API tests), both for
local use and as a single entry point for CI.

This could be implemented using a node.js testing framework like Mocha
(http://visionmedia.github.io/mocha/) to make it easier to add new tests.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to