Skip to content
Browse files

Small updates for docs

  • Loading branch information...
1 parent b6a7048 commit c1ca7604287795f5e06e3e02a329af46979adb4a nzakas committed Feb 14, 2011
Showing with 18 additions and 1 deletion.
  1. +2 −1 docs/index.html
  2. +16 −0 docs/nodejs.html
3 docs/index.html
@@ -27,9 +27,10 @@
<li><a href="selenium-driver.html">YUI Test Selenium Driver</a> - automates running of YUI Test pages in browsers through integration with <a href="">Selenium</a>. Also, integrates with YUI Test Coverage.</li>
- <h3>Best Practices</h3>
+ <h3>User Guides</h3>
<li><a href="test-file-approach.html">Test File Approach</a> - how to organize and format your test files.</li>
+ <li><a href="nodejs.html">YUI Test on Node.js</a> - how to use YUI Test on the command line with Node.js.</li>
16 docs/nodejs.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+ <title>YUI Test</title>
+ <link rel="stylesheet" type="text/css" href="">
+ <h1>Using with Node.js</h1>
+ <p>The YUI Test standalone library is fully capable of being run on Node.js.</p>
+ <h2>Install with npm</h2>
+ <p>If you're using <a href="">npm</a>, you can install the command line interface via:</p>
+ <pre><code>npm install yuitest</code></pre>
+ <p>Once installed, you can pass both individual JavaScript files and entire directories on the command line. If a directory is entered on the command line, all JavaScript files in that directory are assumed to contain tests. This also searches the directory recursively to find all JavaScript files in all subdirectories.</p>

0 comments on commit c1ca760

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