Loading ...
Sorry, an error occurred while loading the content.
 

NUnitAsp v1.1 released!

Expand Messages
  • Jim Little
    NUnitAsp v1.1 is now available for download. NUnitAsp is an open-source extension to the popular NUnit testing framework. It allows you to test ASP.NET pages
    Message 1 of 1 , Sep 5, 2002
      NUnitAsp v1.1 is now available for download.

      NUnitAsp is an open-source extension to the popular NUnit testing framework.
      It allows you to test ASP.NET pages without worrying about how the pages are
      rendered as HTML. Instead, you interact with "Tester" objects that look
      just like the ASP.NET objects you're testing.

      Using NUnitAsp, you can assert on the text of a label by calling
      "label.Text". You can click a link by calling "link.Click()". Here's an
      example:

      public void TestExample()
      {
      LabelTester label = new LabelTester("textLabel", CurrentWebForm);
      LinkButtonTester link = new LinkButtonTester("linkButton",
      CurrentWebForm);

      AssertEquals("first page", "FirstExample", CurrentWebForm.AspId);
      AssertEquals("label", "Example Label", label.Text);
      link.Click();
      AssertEquals("second page", "SecondExample", CurrentWebForm.AspId);
      }

      NUnitAsp currently has support for the most popular ASP.NET controls.
      Support for additional controls is easy to add. Here's a list of the
      controls supported in this release:

      * Anchor
      * Button
      * CheckBox
      * DataGrid
      * DropDownList
      * Label
      * LinkButton
      * Panel
      * RadioButton
      * TextBox
      * UserControl
      * ValidationSummary

      NUnitAsp v1.1 is available for download at
      http://prdownloads.sourceforge.net/nunitasp/NUnitAsp-1.1.zip?download. The
      NUnitAsp website is at http://nunitasp.sourceforge.net


      New in this release:

      The Anchor, DropDownList, and ValidationSummary controls are new. We've
      also made a number of minor improvements to the usability of the product and
      fixed a few defects.

      Jim Little
      Project Coordinator
      NUnitAsp
    Your message has been successfully submitted and would be delivered to recipients shortly.