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 »
A followup to an older post of mine: http://antanas.veiverys.com/enabling-serialport-datareceived-event-in-mono/. The previous approach required rebuilding Mono with a small patch. Here is a derived class that does the same.
How to get a short assembly name. Use:
A code snippet on how to populate a TableLayoutPanel cells with controls:
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:
I have been struggling with a weird Visual Studio C# Express debugger behavior. My application runs OK without the debugger. When started from VS it either throws an AccessViolationException without a meaningful stack trace or returns with code 0xc0000374. I’m running Windows 7 in VirtualBox, the host OS is Linux Mint 14. Finally I have… Read More »
On a related note to the previous post, here is a patch that enables the SerialPort.DataReceived event. It is not officially supported in the Linux version of Mono. This workaround works in the following way: When a port is opened, a new thread is started. It polls the port for incoming data and generates the… Read More »
I have been searching for a solution for the missing Mono libMonoPosixHelper.so library. It is necessary in order to use SerialPort class. The application I’m working on now runs on an ARM processor, Linux OS based on OpenEmbedded. I’m not submitting this as a patch because I’m pretty sure this is not the proper way… Read More »