Minimal working example

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

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.

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

External links[edit]

  • 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)