Chapter 4. Writing Conformance tests

Table of Contents
Introduction
What to test for?
Running the tests in Wine
Cross-compiling the tests with MinGW
Building and running the tests on Windows
Inside a test
Writing good error messages
Handling platform issues

Introduction

With more The Windows API follows no standard, it is itself a de facto standard, and deviations from that standard, even small ones, often cause applications to crash or misbehave in some way. Furthermore a conformance test suite is the most accurate (if not necessarily the most complete) form of API documentation and can be used to supplement the Windows API documentation.

Writing a conformance test suite for more than 10000 APIs is no small undertaking. Fortunately it can prove very useful to the development of Wine way before it is complete.