Welcome to Regression Tests’ Documentation!

This is a documentation for the regression tests framework. It describes how to write regression tests for RetDec and its tools, and provides an overview of the supported functions and methods.

The documentation is primarily focused on tests for the RetDec decompiler, i.e. for the retdec-decompiler script. You can, however, write tests for arbitrary RetDec-related tools, such as fileinfo or unpacker. This is described in section Tests for Arbitrary Tools. Nevertheless, it is highly recommended to read the whole documentation, even if you plan to write tests only for a single tool.