I ended up refactoring (most of) the tests into a separate-javascript- file form that's still compatible with Test.Simple, fixing the bug in Test.Simple that was bothering me the most, and writing an itty bitty test library that I can run via SpiderMonkey. At some point I'd like to support Rhino, WSH, and kjs and drop Test.Simple for something simpler altogether.

So basically, I have a full suite of in-browser tests and a partial suite of in-SpiderMonkey tests (missing Async and DOM). I'd also like to do some kind of continuous integration eventually a la buildbot, and this is definitely a step closer to that.

-bob

On Jan 19, 2006, at 9:28 PM, Alex Russell wrote:

Please feel free to borrow/extend Dojo's infrasturcture for this. I'm
sure you'll need to change the way the test files are located and
built, but that's python (under Jython), and the tests are executed
under Rhino. The Dojo fake-dom implementation handles most of the
hierarchy issues, but no in-browser issues.

Regards

On Thursday 12 January 2006 4:05 pm, Bob Ippolito wrote:
Test.Simple seems to have fallen out of maintenance and has several
problems I would like fixed.  Having looked at the source code and
having been a user of this library for quite a while, I think it
would be to MochiKit's advantage to simply switch to something else.

The question is, what else?  MochiKit's needs are pretty simple, but
if we're switching I'd like some additional features such as Rhino/
SpiderMonkey compatibility (preferably with a mock DOM
implementation).  The tests will probably move out of HTML and
into .js files for this reason.  Testing is basically all that's
holding up the 1.2 release, so I need to have this sorted out soon.

Can anyone provide recommendations for what I should look at and
why?  Is there a need for Yet Another?  It wouldn't be hard to build
a test framework on top of MochiKit.Base and perhaps MochiKit.Logging
(and I've already started to), but test runners and reporting is a
chore.

-bob

--
Alex Russell
[EMAIL PROTECTED] BE03 E88D EABB 2116 CC49 8259 CF78 E242 59C3 9723
[EMAIL PROTECTED]  F687 1964 1EF6 453E 9BD0 5148 A15D 1D43 AB92 9A46

Reply via email to