Chapter 4. Writing Conformance tests

Table of Contents
4.1. Introduction
4.2. What to test for?
4.3. Running the tests in Wine
4.4. Building and running the tests on Windows
4.5. Inside a test
4.6. Writing good error messages
4.7. Handling platform issues

Written by François Gouget

Note: This part of the documentation is still very much a work in progress and is in no way complete.

4.1. Introduction

With more The Windows API follows no standard, it is itself a defacto 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.