1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/devel/gjstest/pkg-descr
Sunpoet Po-Chuan Hsieh f8f2a52774 - Add gjstest 1.0.6
Google JS Test is a fast javascript unit testing framework that runs on the V8
engine, without needing to launch a full browser.

Features include:
- Extremely fast test startup and execution time, without having to run a
  browser.
- Clean, readable output in the case of both passing and failing tests.
- A browser-based test driver that can simply be refreshed whenever JS is
  changed.
- Style and semantics that resemble Google Test for C++.
- A built-in mocking framework that requires minimal boilerplate code (e.g. no
  $tearDown or $verifyAll) with style and semantics based on the Google C++
  Mocking Framework.

The trade-off is that since tests are run in V8 without a browser, there is no
DOM available. You can still use Google JS Test for tests of DOM-manipulating
code however; see "Is it for me?" [1] for more details.

[1] http://code.google.com/p/google-js-test/wiki/IsItForMe

WWW: http://code.google.com/p/google-js-test/
2011-10-18 17:03:51 +00:00

22 lines
944 B
Plaintext

Google JS Test is a fast javascript unit testing framework that runs on the V8
engine, without needing to launch a full browser.
Features include:
- Extremely fast test startup and execution time, without having to run a
browser.
- Clean, readable output in the case of both passing and failing tests.
- A browser-based test driver that can simply be refreshed whenever JS is
changed.
- Style and semantics that resemble Google Test for C++.
- A built-in mocking framework that requires minimal boilerplate code (e.g. no
$tearDown or $verifyAll) with style and semantics based on the Google C++
Mocking Framework.
The trade-off is that since tests are run in V8 without a browser, there is no
DOM available. You can still use Google JS Test for tests of DOM-manipulating
code however; see "Is it for me?" [1] for more details.
[1] http://code.google.com/p/google-js-test/wiki/IsItForMe
WWW: http://code.google.com/p/google-js-test/