This should help you to get started writing a Yats test case. We will create a Visual Studio solution, set up project dependencies and debug a very simple test case. We are assuming that Yats is installed at C:\Program Files\Yats Create a new C# DLL project: Add the following DLL dependencies to the project: attributes.dll,… Read More »
This post will give an example on how to add support for a custom test parameter type. The basic idea of test parameter value handling could be summarized as such: A parameter of a certain type is declared in a test case. In this example, the test case parameter could look like:
A Yats (Yet Another Test System) test scenario consists of test cases that may be contained in test groups. This creates a test tree structure. Each node (test case or test group) can be configured.
A Test Repository Manager is an interface between Yats framework and test case implementation. Currently only one Manager is implemented in order to support test cases written in C# (classes implementing IYatsTestCase interface). In the future, repository managers for shell scripts, NUnit test cases and other tests should be added. Multiple Repository Managers can be… Read More »
This is a list of .NET types supported by Yats as of today. More types and custom classes can be implemented (TODO: link to post on how to implement a new parameter type and editor)
All Yats test cases finish by returning one of the following results: NOT_RUN – set by Yats execution environment if the test case was skipped PASS / FAIL – returned by the test case itself INCONCLUSIVE – unexpected execution – the test case could not determine pass/fail or an exception was thrown during test case… Read More »
Some test cases may take a long time and should provide a Cancel option. Cancel is implemented by implementing the ICancellable interface (part of Yats Native test repository manager).
This article will show how parameters are implemented in a test case. The Yats framework uses .NET Reflection to find out and configure the parameters of a test case. When a test case is written for the Native Yats test repository, the following rules apply: