Permalink
Browse files

Move the fold up.

  • Loading branch information...
1 parent adb5b91 commit ef92aa180f27ee6ca3b58a10a16da14bfe33596d @creationix committed Sep 30, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 articles/testing-your-javascript.markdown
@@ -6,6 +6,8 @@ The last thing you want this weekend is to be introducing bugs at 4:30PM on Sund
Shoulda.js is a micro javascript unit testing framework inspired by Thoughtbot's Shoulda for Ruby. It gives you a tight syntax for writing terse, readable unit tests. It weighs in at under 300 lines and makes no assumptions about your javascript environment or libraries.
+## Get Started
+
Here's how to get started. You've probably seen this pattern before: tests are grouped into logical units called "contexts". Contexts can optionally share test-case setup code. This is a sample test for a massively concurrent version of super mario we've written (the source for that is not included ;-) :
<testing-your-javascript/mario_tests.js>

0 comments on commit ef92aa1

Please sign in to comment.