On Wed, Apr 27, 2011 at 5:48 PM, mckoss <[email protected]> wrote: > Thanks for the pointer - I'd not heard of this before. > > Some questions before I dig in: > > - Can you explain briefly, what EnvJS and FuncUnit are providing over > and above Selenium on it's own? > - What about performance. Looks like EnvJS relies on Rhino > (JavaScript written in Java). In my experience that's VERY SLOW > (especially boot time). I'd love to use a tool chain that is faster > (e.g., V8/node.js/PhantomJS). >
No knowledge about TDD specifically but EnvJS can roughly run both on Spidermonkey and on V8 without any Java requirement. -- Diego > On Apr 27, 7:12 am, Justin Meyer <[email protected]> wrote: >> Check out FuncUnit. It combines selenium, qunit, envjs, and a jQuery >> like API to make testing your apps pretty darn easy. It's is also much >> better than selenium at accurately simulating user events. >> >> On Apr 27, 1:15 am, mckoss <[email protected]> wrote: >> >> >> >> >> >> >> >> > QUnit is used by the jQuery project, I've had good luck with it and >> > it's fairly simple to write tests. It can be made to run pretty >> > easily in both the browser environment and under node.js. I find it >> > invaluable to maintain a reasonably sized >> > test suite for any non-trivial code I write (especially for any code >> > you expect could be used as a library by another project or >> > developer). >> >> > Here's an example of the tests for my namespace.js project running on >> > QUnit in the browser: >> >> > http://namespace-js.pageforest.com/test/test-runner.html >> >> > The source is all here (including a code coverage extension I wrote >> > for QUnit): >> >> > https://github.com/mckoss/namespace/tree/master/test >> >> > I'd love to learn to use Selenium or PhontomJS to do more UI-based >> > integration tests, I just haven't had time to incorporate these into >> > my testing regimen. >> >> > http://docs.jquery.com/Qunit >> > http://seleniumhq.org/ >> > http://www.phantomjs.org/ >> >> > - Mike >> >> > On Apr 20, 8:34 am, Andrés Maneiro <[email protected]> wrote: >> >> > > Has someone experiences doing TDD with javascript? I'm interested in >> > > hearing >> > > from real experiences. Also references to good videos or lectures will be >> > > valuable. >> >> > > best, >> > > amaneiro > > -- > To view archived discussions from the original JSMentors Mailman list: > http://www.mail-archive.com/[email protected]/ > > To search via a non-Google archive, visit here: > http://www.mail-archive.com/[email protected]/ > > To unsubscribe from this group, send email to > [email protected] > -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
