title: How to write test cases for JavaScript
body: <p>I have <code>Rails Application</code> which uses <code>JavaScript Extensively</code>.</p>
  
  <p>I would like to know is there any tool <code>(Similar to Rspec, Cucumber For Rails)</code>using which i can test the JS Code Written in my application.</p>
  
  <p>What is the best practice to ensure that your JS is proper?</p>