TestAPI
CoreMVVM
XamlPadX
Xaml Compliance
Generally, when theres an open spec format, theres usually a set of tests that ensure that the spec is being followed right. As as example, the Acid tests help in deterning the support of web standards in different web browsers. So when it came to XAML, we (Xaml team) decided that we should have a basic set of tests that can be used to determine whether the parser implementation is compliant with the XAML spec. You can find the latest XAML spec at (LINK)
So here we have it, V1 of the XAML Compliance suite of tests. The suite consists of two parts: a custom type library and a collection of xaml files that use those types. The types are self verifiable - so using the library would need users to have a simple function that exercises their parser with the xaml files. A simple loader for the System.Xaml parser is included in the project as a sample. Since the types are CLR based they can easily be used with other parsers without needing a dependency on WPF.
The sample loader has the following usage:
Usage: SystemXamlLoader.exe XamlFileRepositoryPath TypesDll LogOnlyFailures XamlFileRepositoryPath: Path to directory of test xaml files TypesDll: Dll containing custom types to load. LogOnlyFailures: True|False. Defaults to True
E.g: SystemXamlLoader.exe Xaml Xaml.Test.dll false
The zipped up suite is attached
Thank you for submitting this cool story - Trackback from DotNetShoutout
You've been kicked (a good thing) - Trackback from DotNetKicks.com
Thanks for getting this out. Long due.
Lester and his team (the XAML test team) just released v1 of the XAML compliance suite – a set of basic
There should also be an extended test suite, in my humble opinion.
For example, the XAML spec "recommends" various best practices and provides "warnings" for potentially unsafe usages for XAML, but a XAML parser does not directly ship with Debug-mode-only methods that allow you to verify the content of a XAML file.
zabroski, the suite will be extended over time. Currently, the suite targets the MUST rules of the format
This is Windows Client Developer roundup #32. The Windows Client Developer Roundup aggregates information
Beautiful. What license is this released under? I've started a sivlerlight test harness for the tests.
Cheers,
Jackson
Jackson, You are welcome to use these tests for testing your product. btw, terms of use are at the botton of the page.
Thanks 4 sharing
Thank you for submitting this cool story - Trackback from progg.ru
While answering a question in StackOverflow I decide to note down all the resources available for testing