Closed Bug 329721 Opened 18 years ago Closed 17 years ago

a real javascript unittest framework

Categories

(Toolkit :: Safe Browsing, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: fritz, Unassigned)

References

Details

Right now we're doing something really, really cheesey for unittests: defining them in functions at the end of our source files and then calling these functions explicitly when we're in debug mode. Blech. We need a real framework, one that:

- can print the source of the test that failed
- has a useful library of CHECK methods
- can provide XUL or HTML docs to test functions
- (maybe) can read source files
- etc

Lots of work has been done on unittesting; let's learn from what's out there.
Hi Fritz,

Thanks for expressing interest.  What area or areas of this project would you like to start working on?
QA Contact: nobody → safe.browsing
Hi Fritz,

You should check out mochitest. Search for it on MDC.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.