Reflekt builds a database of metadata and reflections (test results) as you develop your application. The more you use Reflekt the more accurate the results.
Terminology
Control
- A shapshot of real data (a subclass ofReflection
)Experiment
- A shapshot of random data (a subclass ofReflection
)
The loop
- You write code and run it
- A
Control
reflection is created per method call, tracking input and output - A set of rules are created from each
Control
on how the program works - Many
Experiment
reflections are created per method call, containing random input and output - Each
Experiment
is tested to pass or fail the set of rules previously defined by eachControl
- Results are saved to the
/reflections
directory - Your application returns its usual output
This feedback loop creates better results the more you develop and use your application.