Salient Solutions

wrasslin ones and nones for fun and profit - Sky Sanders' Blog
posts - 96, comments - 70, trackbacks - 0

Unit Testing

There are 2 entries for the tag Unit Testing
JsUnitTest-VS

I have forked JsUnitTest over at github into JsUnitTest-VS in the interest of creating a Visual Studio 2008 friendly JavaScript unit testing framework. The fork, new name and versioning are prompted by the fact that the infrastructure of the project is php/ruby oriented. I am not only NOT really inclined to switch my development paradigm to PHP/RUBY to work on a library that is intended for Visual Studio, I have identified various areas in which I intend to make fairly significant changes to the feature set. Reconciliation can be considered at a later date. That said, I intend to maintain full API compatibility to keep...

posted @ Thursday, August 20, 2009 10:58 AM | Feedback (0) |

JsUnitTest Async Test Pattern

Lately I have been using a lightweight JavaScript testing framework called JsUnitTest. It is quite easy to use but the documentation is non-existent. This is a situation I have begun to remedy by vs-doccing my copy. I may post it soon. In any case, my cursory investigation did not uncover an established async pattern so I wrote a song about it. Wanna hear it? Here it goes........ Listing 1: jsunittest async pattern  /* Jsunittest async runner pattern by Sky Sanders http://skysanders.net/subtext/archive/2009/08/19/jsunittest-async-test-pattern.aspx This pattern enhances standard test runs with the ability to 'pause' the run until the currently running case signals completion. If...

posted @ Wednesday, August 19, 2009 10:41 PM | Feedback (0) |

Powered by: