.NET Test Library
This product gives you a simple mechanism for implementing automated testing for your product. You can use the library with a .NET Framework application, for testing internals, or you can use it for testing web API's, databases, and more.
Features
- Standard assertion commands
- Create your own test app
- Sample app included
- Create unlimited tests
- Segregate tests into section/categories
- Visually see passes and failures
- Output additional information during tests
- Run a specific test or all tests each time
- Perform setups and clean ups for each test
Usage
using System;
using System.Collections.Generic;
using TestLibraryCS;
using System.Threading;
namespace SampleApp.UnitTests
{
class SampleTest : UnitTestItem
{
public SampleTest()
{
this.UnitTestName = "Sample Test";
this.TestFunction = new UnitTestFunction(testFunction);
}
public override void CleanUp()
{
this.DoInfo("Cleaning up...");
}
void testFunction(UnitTestItem Item)
{
// perform the tests
bool boolVal = true;
this.Assert(boolVal == true);
this.Assert(boolVal != false);
int divisionVal = 0;
this.AssertThrow(delegate { int a = 1 / divisionVal; }, typeof(Exception));
this.AssertNoThrow(delegate { int a = 1 / 1; });
}
}
}
.NET Frameworks Supported
v2.0 - v4.7.2
Any CPU, 32-bit, & 64-bit
Purchase
Users | Price | |
---|---|---|
1 - 5 | £ 49.99 each | |
6 - 25 | £ 44.99 each | |
26+ | £ 39.99 each | |
Source Code | £ 499.99 |
Alternatively, please email sales@anbsoftware.co.uk to request a quote and to send a purchase order (PO).