AutoCheck is a random and enumerative testing tool for OCaml and WhyML. It is developed in the DISC departement of FEMTO-ST institute (UMR CNRS 6174), by Clotilde Erard, Alain Giorgetti and Jérome Ricciardi.
https://github.com/alaingiorgetti/autocheck
Please use github issue manager at https://github.com/alaingiorgetti/autocheck/issues to report installation and usage issues.
For other subjects, please send a message to alain.giorgetti AT femto-st.fr.
See the file INSTALL.md at https://github.com/alaingiorgetti/autocheck.
The project is documented by the present file and by the documents listed in the reference section below.
See [EGR21, Sections 4, 5 and 6], [Gio20] and the Makefile for the different possible actions.
The command to test WhyML properties is
bash ./why3_check.sh TestFilePrefix ModuleName
where TestFilePrefix
is the prefix of the WhyML file TestFilePrefix.mlw containing
modules with test cases, and ModuleName
is the name of the WhyML module in the file
TestFilePrefix.mlw containing the test cases you want to execute.
The command to test OCaml properties is
bash ./ocheck.sh TestFilePrefix
where TestFilePrefix
is the prefix of the OCaml file TestFilePrefix.ml containing
modules with test cases you want to execute.
WARNING: The testing process works well only if the file ModuleName.ml it generates doesn’t pre-exist in the folder. Therefore, it starts and ends with a command removing this file. Before running a test, make sure that there is no important file with this name in the folder.
[EG19] C. Erard and A. Giorgetti. Bounded Exhaustive Testing with Certified and Optimized Data Enumeration Programs. In: Gaston, C., Kosmatov, N., Le Gall, P. (eds.) Testing Software and Systems. ICTSS 2019. LNCS, vol. 11812, pp. 159-175. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-31280-0_10.
[EG20] C. Erard and A. Giorgetti. Random and Enumerative Testing for OCaml and WhyML Properties. 20 pages. https://alaingiorgetti.github.io/autocheck/EG20.pdf.
[EGR21] C. Erard, A. Giorgetti and J. Ricciardi. Towards Random and Enumerative Testing for OCaml and WhyML Properties. May 2021, 29 pages. Under submission. Author version
[Gio20] A. Giorgetti. Formalisation et vérification de théories de permutations. Research report RR-1715 (in French), UBFC (Université de Bourgogne Franche-Comté) and FEMTO-ST, 17 pages, December 2020. https://hal.archives-ouvertes.fr/hal-03033416.
[Gio21] A. Giorgetti. Théories de permutations avec Why3. In JFLA 2021, 32 èmes Journées Francophones des Langages Applicatifs, pages 202-209, April 2021. https://hal.inria.fr/hal-03190426.
Copyright (C) 2019-2021 Clotilde Erard, Alain Giorgetti and Jérome Ricciardi