Available now

Apr 27, 2009 09:54 GMT  ·  By

Developers working with Windows Presentation Foundation applications and controls now have version 0.2 of the TestApi available in order to test their projects. Delivering what is essentially a library of Test APIs (application programming interfaces), TestApi can be downloaded from Microsoft's open-source project repository CodePlex. The solution is offered under the Microsoft Public License (Ms-PL), an open-source license from the Redmond company. Access to the source code is of course provided, and in this regard, developers have the green light to modify and improve upon TestApi 0.2.

“I am excited to announce that we have just released the second preliminary version of TestApi – the testing API library. The v.0.2 package includes the following additions and modifications: improved command-line parsing APIs; improved visual verification APIs; a new tolerance map visual verifier in SnapshotToleranceMapVerifier; new operations on snapshot (And and Or) allowing you to mask; A new Snapshot.FromWindow(...) constructor with ability to include and exclude the window chrome in snapshots,” revealed Ivo Manolov, principal test manager at Microsoft.

Through the ZIP archive provided for download, Microsoft is serving developers the actual binaries of the componentized library of public test APIs as well as documentation, resources involving not only conceptual documents but also API documentation, the source code of TestApi 0.2 and even samples. The fresh new visual verification features, in concordance with the new command line parsing features, along with the automated application controller will allow developers to better test their WPF apps and controls.

Manolov enumerated additional enhancements for TestApri 0.2: “Improved visual verification internals; new application control APIs, enabling in-proc and out-of-proc automation of client applications; expanded conceptual documentation; CHM API documents (in addition to the HTML documents) and the addition of NUnit and xUnit usage samples (for all of the non-VS crowd out there).”

TestApi 0.2 is available for download here.