Mercurial > hg
view contrib/win32/buildlocal.bat @ 28255:f75f7d39cca3
testing: generate tests operations using Hypothesis
The idea of this patch is to expand the use of Hypothesis
within Mercurial to use its concept of "stateful testing".
The result is a test which runs a sequence of operations
against a Mercurial repository. Each operation is given a
set of allowed ways it can fail. Any other non-zero exit
code is a test failure.
At the end, the whole sequence is then reverified by
generating a .t test and testing it again in pure
mode (this is also useful for catching non-determinism
bugs).
This has proven reasonably effective at finding bugs,
and has identified two problems in the shelve extension
already (issue5113 and issue5112).
author | David R. MacIver <david@drmaciver.com> |
---|---|
date | Wed, 24 Feb 2016 13:05:45 +0000 |
parents | 70ef5b610222 |
children |
line wrap: on
line source
@echo off rem Double-click this file to (re)build Mercurial for Windows in place. rem Useful for testing and development. cd ..\.. del /Q mercurial\*.pyd del /Q mercurial\*.pyc rmdir /Q /S mercurial\locale python setup.py build_py -c -d . build_ext -i build_mo pause