ASPUnit
[See all forum posts about ASPUnit]
Unit testing with ASPUnit
I am relatively new to ASP and ASPUnit, but have worked with C sharp.Net development and NUnit unit testing. I have downloaded the ASPUnit.zip from the http://aspunit.sourceforge.net/ website and added the contents (.asp, .js files etc) in the unzipped folder to an application in Visual Interdev. I played around with the TCTest.asp file to get the hang of it. But I couldnt find any particular guidelines, examples on how exactly to use ASPUnit?
And I have a few questions and clarifications regarding ASPUnit usage:
* It is my understanding that ASPUnit can only be used for server side VBScript code. Therefore it cannot be used for Javascript code at all, correct?
* I saw how a code written within the test method itself can be tested using the Assertions. But how can I test code of another class? E.g. How can I call the Methods written in my ClassA from my Test application TestClassA? I tried with
And I have a few questions and clarifications regarding ASPUnit usage:
* It is my understanding that ASPUnit can only be used for server side VBScript code. Therefore it cannot be used for Javascript code at all, correct?
* I saw how a code written within the test method itself can be tested using the Assertions. But how can I test code of another class? E.g. How can I call the Methods written in my ClassA from my Test application TestClassA? I tried with
[Write Review]