Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added more of the site

  • Loading branch information...
commit 4e29f15340efbbb930a0c7cf05ae8f8101f2847e 1 parent 8f8a518
@foobarfighter authored
View
29 site/www/src/documents/about.html
@@ -0,0 +1,29 @@
+---
+layout: home
+---
+<!-- About -->
+<h1>About</h1>
+
+<p>
+foounit is an asynchronous BDD-style javascript test framework aimed at making cross-environment javascript testing simple. foounit is designed to make testing code that is shared between the server and the client less of a chore. It supports both commonjs loading and global scope loading of script files for immediate test dependencies in all environments. Test files are loaded in a functionally scoped environment to help minimize test pollution when running your suite. Test syntax is influenced heavily by Screw Unit, Jasmine and rspec.</p>
+
+<p>
+ foounit is the love child of Bob Remeika (<a href="http://bobremeika.com">me</a>). It was <a href="http://twitter.com/#!/foobarfighter/status/71670398349099008">written out of spite</a> while consuming large amounts of alcohol. If you notice some bad code within foounit, it's definitely due to alcohol abuse. I'm not even going to try to pretend that I *meant* to do that. If you want to help with code quality then <a href="https://github.com/foobarfighter/foounit">patches are accepted</a>.
+</p>
+
+<p>
+ A common question that I get is why didn't I just use Jasmine. See the <a href="#/faq/jasmine">FAQ</a>.
+</p>
+
+<p>
+ foounit is currently used at <a href="http://www.yammer.com">Yammer Inc.</a> as the primary test harness for a core component of our client/server side architecture called yamjs.
+</p>
+
+<p>
+ foounit is a <a href="http://dojofoundation.org/">Dojo Foundation</a> project and is licensed under the Dojo Foundation License. This basically <a href="http://dojofoundation.org/about/hundredpoint">means</a> that no One Company owns the project and the code is gauranteed to be IP Free (free as in beer). This is another reason <a href="#/faq/jasmine">why I didn't want to use Jasmine</a>.
+</p>
+
+<p>
+ This website was created by <a href="http://www.heatherkphillips.com/">Heather Phillips</a> (Yammer) and the logo was created by James Kang (Yammer).
+</p>
+<!-- /About -->
View
14 site/www/src/documents/documentation.html
@@ -0,0 +1,14 @@
+---
+layout: home
+---
+<!-- Documentation -->
+<h1>Documentation</h1>
+
+<ul class="index">
+ <li><a href="">Syntax overview</a></li>
+ <li><a href="">Async awesomeness</a></li>
+ <li><a href="">Matchers</a></li>
+ <li><a href="">How to test</a></li>
+ <li><a href="">FAQ</a></li>
+</ul>
+<!-- /Documentation -->
View
9 site/www/src/documents/download.html
@@ -0,0 +1,9 @@
+---
+layout: home
+---
+<!-- Download -->
+<h1>Download</h1>
+
+<a href="">foounit-browser.js</a>
+
+<!-- /Download -->
View
64 site/www/src/documents/get-started.html
@@ -1,10 +1,62 @@
---
layout: home
-title: blah blah
---
+<!-- Getting Started -->
+<h1>Getting Started</h1>
-<!-- About -->
-<section class="about">
- <h2>About</h2>
- <p>My life story</p>
-</section>
+<p>
+ First install foounit with npm:
+ <pre class="code">$ npm install foounit</pre>
+</p>
+<br/>
+
+<p>Then follow these steps to run tests...</p>
+
+<ul class="index">
+ <li><a href="">in nodejs</a></li>
+ <li><a href="">in the browser</a></li>
+ <li><a href="">on code that is shared between the client and the server</a>
+</ul>
+
+
+<h3>In nodejs</h3>
+
+<p>
+ Generate a sample suite in the spec directory:
+ <pre class="code">$ foounit generate --type=node spec</pre>
+</p>
+
+<p>
+ Run the test:
+ <pre class="code">$ node spec/example_spec.js</pre>
+</p>
+
+<h3>In the browser</h3>
+
+<p>
+ Generate a sample suite in the spec directory:
+ <pre class="code">$ foounit generate --type=browser spec</pre>
+</p>
+
+<p>
+ Start a web server in the directory where the suite was created:
+ <pre class="code">$ foounit-server --spec=spec</pre>
+<p>
+
+<p>
+ Open a web browser at <a href="">http://localhost:5057/spec/suite.html</a>
+</p>
+
+
+<h3>Shared client and server code</h3>
+
+<p>
+ Generate a sample suite in the spec directory:
+ <pre class="code">$ foounit generate --type=browser,node spec</pre>
+ <i>foounit is smart enough to know that when multiple environments are specified that it should create a shared directory for multi-environment testing</i>
+</p>
+
+<p>
+ Run the tests for each environment by following the directions in the previous steps.
+</p>
+<!-- /Getting Started -->
View
12 site/www/src/documents/support.html
@@ -0,0 +1,12 @@
+---
+layout: home
+---
+<!-- Support -->
+<h1>Support</h1>
+
+<ul>
+ <li>Twitter: <a href="http://twitter.com/foounit">@foounit</a></li>
+ <li>Mailing list: <a href="">Google groups</a></li>
+ <li>File a ticket: <a href="https://github.com/foobarfighter/foounit/issues?milestone=&labels=&_pjax=true&state=open">Submit an issue</a></li>
+</ul>
+<!-- /Support -->
View
74 site/www/src/layouts/home.html
@@ -11,11 +11,11 @@
<div class="content">
<a href="/index.html"><img id="logo" height="55" width="241" src="images/logo.png"></a>
<div id="nav">
- <span><a href="">Get Started</a></span>
- <span><a href="">Documentation</a></span>
- <span><a href="">Support</a></span>
- <span><a href="">Source</a></span>
- <span><a href="">About</a></span>
+ <span><a href="/get-started.html">Get Started</a></span>
+ <span><a href="/documentation.html">Documentation</a></span>
+ <span><a href="/support.html">Support</a></span>
+ <span><a href="http://github.com/foobarfighter/foounit">Source</a></span>
+ <span><a href="/about.html">About</a></span>
</div>
<div id="download-tag">
<div>
@@ -23,7 +23,7 @@
Version 0.0.7<br>Updated: Today
</span>
<span class="separator"></span>
- <a href="">Download</a>
+ <a href="/download.html">Download</a>
</div>
</div>
</div>
@@ -78,67 +78,7 @@
</div>
<div class="content main">
-
- <!-- Getting Started -->
- <h1>Getting Started</h1>
-
- <p>
- First install foounit with npm:
- <pre class="code">$ npm install foounit</pre>
- </p>
- <br/>
-
- <p>Then follow these steps to run tests...</p>
-
- <ul class="index">
- <li><a href="">in nodejs</a></li>
- <li><a href="">in the browser</a></li>
- <li><a href="">on code that is shared between the client and the server</a>
- </ul>
-
-
- <h3>In nodejs</h3>
-
- <p>
- Generate a sample suite in the spec directory:
- <pre class="code">$ foounit generate --type=node spec</pre>
- </p>
-
- <p>
- Run the test:
- <pre class="code">$ node spec/example_spec.js</pre>
- </p>
-
- <h3>In the browser</h3>
-
- <p>
- Generate a sample suite in the spec directory:
- <pre class="code">$ foounit generate --type=browser spec</pre>
- </p>
-
- <p>
- Start a web server in the directory where the suite was created:
- <pre class="code">$ foounit-server --spec=spec</pre>
- <p>
-
- <p>
- Open a web browser at <a href="">http://localhost:5057/spec/suite.html</a>
- </p>
-
-
- <h3>Shared client and server code</h3>
-
- <p>
- Generate a sample suite in the spec directory:
- <pre class="code">$ foounit generate --type=browser,node spec</pre>
- <i>foounit is smart enough to know that when multiple environments are specified that it should create a shared directory for multi-environment testing</i>
- </p>
-
- <p>
- Run the tests for each environment by following the directions in the previous steps.
- </p>
- <!-- /Getting Started -->
-
+ <%- @content %>
</div>
</body>
</html>
Please sign in to comment.
Something went wrong with that request. Please try again.