Document link is broken (https://github.com/cbaxter/JSTest.NET/wiki)

Jan 16, 2013 at 11:02 PM

Hi guys,

First of all, I really like your testing framework! thanks!

A couple of things:

  • Documentation link is broken: https://github.com/cbaxter/JSTest.NET/wiki
  • To use TestCase, how I should declare my function in the js file? I have tried a simple "function f1() {}", it picks the test case in the array, but when it is going to be run, it fails. I have debugged the generated JavaScript and I think it is wrong. Could you confirm it guys? Please, let me know if you need more details.

Thanks a lot!

Coordinator
Jan 17, 2013 at 4:15 PM

Hi,

Thank you.

I have no issue access the documentation link; is GitHub presenting a 404 Not Found? The wiki page is public, so you should have no issue accessing it. 

As for the TestCase class I would recommend looking at the examples included with the source. There are a few different styles that may be used for writing unit tests (depending on user preference). The examples currently include different styles for NUnit and XUnit and will also work with MSTest as well (except for theories).

What error are you receiving when you attempt to run the test case? If you can provide details on the error received I would be happy to provide additional help.

Best regards,

Chris

Jan 30, 2013 at 6:33 PM

Thanks Chris! Link didn't work initially, now it does :)

About using the TestCase, it was my silly mistake, I was not appending the test case properly using the property TestCase.TestFile

Regards