[Webkit-unassigned] [Bug 70944] New: Meta: Simple JS Test Harness

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 26 10:58:45 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=70944

           Summary: Meta: Simple JS Test Harness
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: arv at chromium.org
                CC: ojan at chromium.org


I'm currently in the process of simplifying the JS Test Harness. The end goal is to only have to include a single js file.

<script src="path/to/test.js"></script>
<script>
shouldBeTrue('true');
</script>

Here are a few things that needs to be done

* Remove pre+post scripts. Today we have js-test-pre.js, js-test-post.js, js-test-post-async.js and js-test-function.js.
* Remove the need to manually set successfullyParsed to true
* Remove the link to include js-test-style.css
* Standardize/simplify async tests

Right now there are so many ad-hoc ways of doing tests which makes both writing and maintaing tests a real nightmare.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list