Skip to content

Commit

Permalink
bump to 0.7.2 [thx choan]
Browse files Browse the repository at this point in the history
  • Loading branch information
drnic committed Oct 7, 2008
1 parent a3fb732 commit b289816
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 111 deletions.
5 changes: 5 additions & 0 deletions History.txt
@@ -1,3 +1,8 @@
== 0.7.2 2008-10-08

* AJAX callback from IE6 working [choan]
* warning count passed back [choan]

== 0.7.1 2008-09-20

* Fixes for warning implementation [dchelimsky]
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -12,7 +12,7 @@ require 'rake/packagetask'

$:.unshift File.dirname(__FILE__) + "/lib"

APP_VERSION = '0.7.1'
APP_VERSION = '0.7.2'
APP_NAME = 'jsunittest'
RUBYFORGE_PROJECT = 'drnicjavascript'
APP_FILE_NAME= "#{APP_NAME}.js"
Expand Down
156 changes: 46 additions & 110 deletions website/index.html
Expand Up @@ -31,121 +31,57 @@
<h1>JsUnitTest &#8211; JavaScript Unit Testing framework</h1>
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/drnicjavascript"; return false'>
<p>Get Version</p>
<a href="http://rubyforge.org/projects/drnicjavascript" class="numbers">0.7.1</a>
<a href="http://rubyforge.org/projects/drnicjavascript" class="numbers">0.7.2</a>
</div>
<h2>What</h2>


<p>This JavaScript project provides a one-file JavaScript test suite.</p>


<p>This is based off unittest.js from <a href="http://prototypejs.org">prototypejs</a>, except this library has no dependency on prototype.js so there is no chance your code-under-test can conflict with prototype.js or that you might accidently use a prototype.js helper for a library that will be deployed independently off prototypejs.</p>


<p>There is also a TextMate bundle with snippets for creating the runner and assertions.</p>


<p><a href="tmbundle/JavaScript Unit Testing.tmbundle.tar.gz"><img src="images/logo_bundle.png" width="50" height="51" alt="Logo Bundle" border=0></a> &#8211; click to download. More information below.</p>


<h2>Downloading</h2>


<p>Get the latest here: <a href="dist/jsunittest.js">jsunittest.js</a></p>


<p>Alternately, download the source for the project via the large version number box to the top-right.</p>


<h3>Getting Started</h3>


<p>Download <a href="dist/jsunittest-getting-started.tar.gz">tar</a> or <a href="dist/jsunittest-getting-started.zip">zip</a> and unarchive within <code>test/</code> or <code>test/javascript</code> folder of your project.</p>


<p>The archives include the following files:</p>


<pre>assets/jsunittest.js
assets/unittest.css
example_test.html
</pre>

<p>Once unpacked, open <code>example_test.html</code> in your browser to check everything is working.</p>


<h2>The basics</h2>


<p>Whereever you were testing with unittest.js, drop in <a href="dist/jsunittest.js">jsunittest.js</a> instead (and update your <code>&lt;script src="../assets/unittest.js"...&gt;</code> to use <code>jsunittest.js</code>).</p>


<h2>Same <span class="caps">API</span> as unittest.js</h2>


<p><img src="images/passing_prototypejs_unittest_tests.jpg" width="709" height="573" alt="Passing Prototypejs Unittest Tests"></p>


<h2>TextMate bundle</h2>


<p><a href="tmbundle/JavaScript Unit Testing.tmbundle.tar.gz"><img src="images/logo_bundle.png" width="50" height="51" alt="Logo Bundle" border=0></a> &#8211; click to download</p>


<ul>
<p>This JavaScript project provides a one-file JavaScript test suite.</p>
<p>This is based off unittest.js from <a href="http://prototypejs.org">prototypejs</a>, except this library has no dependency on prototype.js so there is no chance your code-under-test can conflict with prototype.js or that you might accidently use a prototype.js helper for a library that will be deployed independently off prototypejs.</p>
<p>There is also a TextMate bundle with snippets for creating the runner and assertions.</p>
<p><a href="tmbundle/JavaScript Unit Testing.tmbundle.tar.gz"><img src="images/logo_bundle.png" width="50" height="51" alt="Logo Bundle" border=0></a> &#8211; click to download. More information below.</p>
<h2>Downloading</h2>
<p>Get the latest here: <a href="dist/jsunittest.js">jsunittest.js</a></p>
<p>Alternately, download the source for the project via the large version number box to the top-right.</p>
<h3>Getting Started</h3>
<p>Download <a href="dist/jsunittest-getting-started.tar.gz">tar</a> or <a href="dist/jsunittest-getting-started.zip">zip</a> and unarchive within <code>test/</code> or <code>test/javascript</code> folder of your project.</p>
<p>The archives include the following files:<br />
<br />
<pre>assets/jsunittest.js<br />
assets/unittest.css<br />
example_test.html<br />
</pre></p>
<p>Once unpacked, open <code>example_test.html</code> in your browser to check everything is working.</p>
<h2>The basics</h2>
<p>Whereever you were testing with unittest.js, drop in <a href="dist/jsunittest.js">jsunittest.js</a> instead (and update your <code>&lt;script src="../assets/unittest.js"...&gt;</code> to use <code>jsunittest.js</code>).</p>
<h2>Same <span class="caps">API</span> as unittest.js</h2>
<p><img src="images/passing_prototypejs_unittest_tests.jpg" width="709" height="573" alt="Passing Prototypejs Unittest Tests"></p>
<h2>TextMate bundle</h2>
<p><a href="tmbundle/JavaScript Unit Testing.tmbundle.tar.gz"><img src="images/logo_bundle.png" width="50" height="51" alt="Logo Bundle" border=0></a> &#8211; click to download</p>
<ul>
<li>Mac <span class="caps">OSX</span>: Download, unarchive and open with Finder to install into TextMate</li>
<li>Windows (E Text Editor): Don&#8217;t know. Can someone let me know what the installation instructions are for new/update bundles?</li>
</ul>


<p>The source for the bundle is available via git: <a href="http://github.com/drnic/javascript-unittest-tmbundle/tree/master">http://github.com/drnic/javascript-unittest-tmbundle/tree/master</a></p>


<h2>How to do JavaScript unit testing</h2>


<ul>
<li>Windows (E Text Editor): Don&#8217;t know. Can someone let me know what the installation instructions are for new/update bundles?</li>
</ul>
<p>The source for the bundle is available via git: <a href="http://github.com/drnic/javascript-unittest-tmbundle/tree/master">http://github.com/drnic/javascript-unittest-tmbundle/tree/master</a></p>
<h2>How to do JavaScript unit testing</h2>
<ul>
<li><a href="http://peepcode.com">PeepCode: JavaScript Unit Testing</a> &#8211; coming soon from Dr Nic</li>
<li><a href="http://newjs.rubyforge.org">newjs</a> &#8211; started new JavaScript projects with in-built test suite</li>
<li><a href="http://drnicwilliams.com/2008/01/04/autotesting-javascript-in-rails/">Autotest for Javascript</a> &#8211; ideas on a script/js_autotest script (built-in to newjs)</li>
</ul>


<h2>Contributions/Thanks:</h2>


<ul>
<li><a href="http://newjs.rubyforge.org">newjs</a> &#8211; started new JavaScript projects with in-built test suite</li>
<li><a href="http://drnicwilliams.com/2008/01/04/autotesting-javascript-in-rails/">Autotest for Javascript</a> &#8211; ideas on a script/js_autotest script (built-in to newjs)</li>
</ul>
<h2>Contributions/Thanks:</h2>
<ul>
<li>original unittest code &#8211; prototypejs project</li>
<li>ajax library &#8211; John Resig, Pro JavaScript book</li>
<li>event library &#8211; Dean Edwards</li>
</ul>


<h2>Forum</h2>


<p><a href="http://groups.google.com/group/drnic-javascript-projects">http://groups.google.com/group/drnic-javascript-projects</a></p>


<h2>How to submit patches</h2>


<p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people&#8217;s code</a> and for section <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups">8b: Submit patch to Google Groups</a>, use the Google Group above.</p>


<p>The source project is a <a href="http://git.or.cz/">Git</a> repository. See Dr Nic&#8217;s <a href="http://github.com/drnic/jsunittest/tree/master">master branch</a> for clone/checkout details.</p>


<h2>License</h2>


<p>This code is free to use under the terms of the <span class="caps">MIT</span> license.</p>


<h2>Contact</h2>


<p>Comments are welcome. Send an email to <a href="mailto:drnicwilliams@gmail.com">Dr Nic Williams</a> via the <a href="http://groups.google.com/group/drnic-javascript-projects">forum</a></p>
<li>ajax library &#8211; John Resig, Pro JavaScript book</li>
<li>event library &#8211; Dean Edwards</li>
</ul>
<h2>Forum</h2>
<p><a href="http://groups.google.com/group/drnic-javascript-projects">http://groups.google.com/group/drnic-javascript-projects</a></p>
<h2>How to submit patches</h2>
<p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people&#8217;s code</a> and for section <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups">8b: Submit patch to Google Groups</a>, use the Google Group above.</p>
<p>The source project is a <a href="http://git.or.cz/">Git</a> repository. See Dr Nic&#8217;s <a href="http://github.com/drnic/jsunittest/tree/master">master branch</a> for clone/checkout details.</p>
<h2>License</h2>
<p>This code is free to use under the terms of the <span class="caps">MIT</span> license.</p>
<h2>Contact</h2>
<p>Comments are welcome. Send an email to <a href="mailto:drnicwilliams@gmail.com">Dr Nic Williams</a> via the <a href="http://groups.google.com/group/drnic-javascript-projects">forum</a></p>
<p class="coda">
<a href="drnicwilliams@gmail.com">Dr Nic Williams</a>, 11th August 2008<br>
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
Expand Down
Binary file modified website/tmbundle/JavaScript Unit Testing.tmbundle.tar.gz
Binary file not shown.

0 comments on commit b289816

Please sign in to comment.