Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #16493

Unit test framework recommendations?

Date 2012-10-09 09:10 +0100
From Patricia Shanahan <pats@acm.org>
Newsgroups comp.lang.javascript
Subject Unit test framework recommendations?
Message-ID <T7mdnSwpceeWQe7NnZ2dnUVZ_qKdnZ2d@earthlink.com> (permalink)

Show all headers | View raw


I like to do test driven development, and generate a lot of unit tests,
so I need a framework to organize and run them.

I need to pick one early, because some of my program fragments from
learning the language may become testable units in my actual
application. For example, I'm thinking of using a storage wrapper that I
will need in my application as my next major exercise. Writing that will
check whether I have understood the storage.

Does the group have a recommendation for a unit test framework for
JavaScript?

I am extremely familiar with JUnit, and note that JsUnit is based on it,
but I'm concerned that it may not be very actively maintained. Also,
porting something designed for one language for use with another, very
different, language does not always get the best results. If there is a
better tool for JavaScript I would be happy to learn it.

Patricia

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Unit test framework recommendations? Patricia Shanahan <pats@acm.org> - 2012-10-09 09:10 +0100
  Re: Unit test framework recommendations? Scott Sauyet <scott.sauyet@gmail.com> - 2012-10-09 10:40 -0700
  Re: Unit test framework recommendations? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-10-09 21:19 +0200
    Re: Unit test framework recommendations? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-10-09 21:50 +0200
    Re: Unit test framework recommendations? Scott Sauyet <scott.sauyet@gmail.com> - 2012-10-10 07:24 -0700
      Re: Unit test framework recommendations? Patricia Shanahan <pats@acm.org> - 2012-10-10 22:14 +0100
        Re: Unit test framework recommendations? Scott Sauyet <scott.sauyet@gmail.com> - 2012-10-11 06:19 -0700
      Re: Unit test framework recommendations? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-10-14 00:11 +0200
        Re: Unit test framework recommendations? Patricia Shanahan <pats@acm.org> - 2012-10-13 23:49 +0100
        Re: Unit test framework recommendations? Scott Sauyet <scott.sauyet@gmail.com> - 2012-10-14 13:17 -0700

csiph-web