An updated version of Yats is available in the Downloads section. The main highlights: Very simple int/byte etc array parameter editor – edit as text Test case search PC sleep is disabled while tests are running Multiple speed optimizations, improved logging Port emulator – added configuration in GUI Compression is used on exported log files
Here is a code snippet how a cancellable test case can be implemented in Yats.
Here are some code snippets on how to reuse the Yats communication port configuration control in your own application. This is a bare minimum required to configure and open any port type.
Here is an example of a test case that reads a stream of data from a port. It looks for a certain packet (“OK”) and logs all stream input. In this example we use a TextLineParser but any parser can be used. The trick is to set DiscardDataWithoutParsers to false so that no bytes are lost… Read More »
An updated version of Yats is available in the Downloads section. The main highlights: Implemented undo/redo for test scenario and parameter editors Released Yats.Ports and Yats.Utilities libraries as a NuGet packages Added support for Bluetooth serial ports. Also, a special PortEmulator class for testing parsers without making actual connections Refresh of various GUI trees without… Read More »
An updated version of Yats is available in the Downloads section. The main changes: A major refactoring of logging code. Clean interfaces were defined and implemented, previous workarounds removed; Source solution upgrade – now compatible with the free Visual Studio 2013 Community edition! Created solution folders, finally started to use NuGet; Bug fixes What’s next?… Read More »
Yats now supports composite test cases. A selected test sequence or part of it can be exported to a test case file: Be sure to save the file in a directory set up to contain test cases: The test case shows up in the Test Case window. Now it can be added to other test… Read More »
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 »