ServerJS/Unit Testing: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(recorded recent show of hands and discussion)
(added a proposal)
Line 27: Line 27:
* JsUnitTest is based off unittest.js from prototypejs, except this library has no dependencies http://jsunittest.com
* JsUnitTest is based off unittest.js from prototypejs, except this library has no dependencies http://jsunittest.com
* Inspec BDD style test framework http://github.com/aq1018/inspec
* Inspec BDD style test framework http://github.com/aq1018/inspec
== Proposals ==
* [[ServerJS/Unit_Testing/A]]


== Relevant Discussions ==
== Relevant Discussions ==

Revision as of 03:49, 22 July 2009

Unit testing

Automated tests are an important part of software development today. Providing a standard test library will help encourage more people to write more tests. Additionally, the API specification will likely be written in the form of tests, so this component will be needed by the ServerJS project itself.

Testing involves both an API for easily defining tests and running assertions, plus a tool (or tools) for locating and running the tests.

Prior Art

Proposals

Relevant Discussions

Show of Hands

  1. (A) making (message, guard) and (guard) the accepted argument forms.
    • Daniel Friesen
  2. (B) making (guard, message) and (guard) the accepted argument forms.
    • Ash Berlin
    • Mark Porter
    • Kris Kowal
  1. (X) make the assertion message mandatory.
  2. (Y) make the assertion message optional.
    • Ash Berlin
    • Kris Kowal
    • Mark Porter