Jump to content

Minimal reproducible example

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 2a00:23c7:7104:2b01:e985:f887:e8d3:c1c9 (talk) at 17:51, 18 July 2021. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computing, a minimal working example (abbreviated MWE) is a collection of source code and other data files which allow a bug or problem to be demonstrated and reproduced. The important feature of a minimal working example is that it is as small and as simple as possible, such that it is just sufficient to demonstrate the problem, but without any additional complexity or dependencies which will make resolution harder. This is an example of a solmonov machine.

A minimal working example may also be referred to as minimal reproducible example or short self-contained correct example.

  • Short but complete programs (Jon Skeet)
  • What is a minimal working example? (guidelines for users of LaTeX)
  • Short Self Contained Correct (Compilable) Example
  • How to create a Minimal, Complete, and Verifiable example (guidelines for users of Stack Overflow)