NUnitAsp
NUnitAsp is a tool for automatically testing ASP.NET web pages.[src] It's an extension to NUnit, a tool for test-driven development in .NET.[src]
NUnitAsp is a tool for automatically testing ASP.NET web pages.[src] It's an extension to NUnit, a tool for test-driven development in .NET.[src] ==How it works== NUnitAsp is a class library for use within NUnit tests.[src] It provides NUnit with the ability to download, parse, and manipulate ASP.NET web pages.[src] With NUnitASP, tests do not need to know how ASP.NET renders controls into HTML.[src] Instead, NUnitASP library can do this, keeping the test code simple and clean.[src] For example, tests don't need to know that a DataGrid control renders as an HTML table; NUnitASP handles the details.[src] This gives users freedom to focus on functionality questions, like whether the DataGrid holds the expected values.[src] [Test] public void TestExample() { // First, instantiate "Tester" objects: LabelTester label = new LabelTester("textLabel", CurrentWebForm); LinkButtonTester link = new LinkButtonTester("linkButton", CurrentWebForm); // Second, visit the page being tested: Browser.GetPage("http://localhost/example/example.aspx"); // Third, use tester objects to test the page: AssertEquals("Not clicked.", label.Text); link.Click(); AssertEquals("Clicked once.", label.Text); link.Click(); AssertEquals("Clicked twice.", label.Text); } NUnitAsp can test complex web sites involving multiple pages and nested controls.[src] ==See also== NUnit Test automation[src]
12 sentences · 12 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"NUnitAsp." encyclopegia.org, 2025, https://encyclopegia.org/wiki/nunitasp. Accessed 25 November 2026.
Chicago
"NUnitAsp." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/nunitasp.
APA
encyclopegia.org. (2025). NUnitAsp. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/nunitasp
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON