JsUnit 1.3 |
![]() |
![]() |
Microsoft's web server is the Internet Information Server. It is part of the Microsoft Windows Professional and Server versions and also with a simpler user interface as Personal Web Server in the home user's Windows versions. This web server is able to run Active Server Pages (ASP), that are written in one of the languages registered in the Windows Script Engine. A special article of Microsoft exists for debugging ASPs with the different debuggers of the Windows Script Engine.
<%@ LANGUAGE="JScript" %> <!--#include file="lib/JsUtil.inc" --> <!--#include file="lib/JsUnit.inc" --> <!--#include file="samples/ArrayTest.inc" --> <!--#include file="samples/money/IMoney.inc" --> <!--#include file="samples/money/Money.inc" --> <!--#include file="samples/money/MoneyBag.inc" --> <!--#include file="samples/money/MoneyTest.inc" --> <!--#include file="samples/SimpleTest.inc" --> <!--#include file="samples/AllTests.inc" --> <!--#include file="JsUnitHeader.inc" -->
To include the JsUnit library files you have to run the genasp shell script. It will add these tags to the beginning and end of the files and write them to the given target directory preserving JsUnit's directory structure.
$ /usr/lib/jsunit> util/genasp conf/ASP
On Windows I personally use Cygwin to have a Unix shell environment.
Run the web application and you should be able to run the examples of JsUnit in ASP pages at the server-side:
JsUnit © 1999, 2000, 2001, 2002, 2003, 2006, 2007 by Jörg Schaible
|
Generated on Fri Oct 19 23:10:41 2007 for JsUnit by doxygen 1.5.2
|