Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

little more docs; still long way to go

  • Loading branch information...
commit 6d9961b0b1f7c7c6c2755ffcef4c527b18533652 1 parent b3ef811
authored

Showing 1 changed file with 10 additions and 0 deletions. Show diff stats Hide diff stats

  1. 10  README.markdown
10  README.markdown
Source Rendered
@@ -138,6 +138,16 @@ Mocking Example with Smoke
138 138
 
139 139
 ...TBD....
140 140
 
  141
+Tips & Tricks
  142
+-------------
  143
+* (avoid `print` in your tests; it works fine from command line but causes lots of headaches in browser)
  144
+* don't test jQuery or Prototype, especially event wiring... instead write a separate function, test it, and wire it to events
  145
+
  146
+Caveats
  147
+----------
  148
+env.js and jQuery 1.3.x do not currently get along well, so the JavaScript Testing Rails Plugin currently uses jQuery 1.2.6 to run command line specs.
  149
+
  150
+
141 151
 Links
142 152
 -------------
143 153
 * [http://github.com/relevance/javascript_testing](http://github.com/relevance/javascript_testing)

0 notes on commit 6d9961b

Please sign in to comment.
Something went wrong with that request. Please try again.