protest
2020-12-20
Common Lisp PROtocol and TESTcase Manager
Upstream URL
Author
License
   
Common Lisp PROtocol and TESTcase manager
PROTEST is a tool for defining protocols and test cases written in and for
Common Lisp, featuring integration with multiple one testing framework.
(More will come.)
tl;dr
(ql:quickload :protest) (use-package :protest) ;; depending on your choice of test library, load one of the following (ql:quickload :protest/parachute) (use-package :protest/parachute) (ql:quickload :protest/1am) (use-package :protest/1am)
Modules
The currently implemented modules are:
- PROTEST/BASE- for defining protocol classes and protocol condition types
- PROTEST/FTYPE- for producing FTYPE forms from typed lambda lists
- PROTEST/PROTOCOL- for defining and executing protocols
- PROTEST/COMMON- containing common and example protocols
- PROTEST/TEST-CASE- for defining test cases
- PROTEST/PARACHUTE- for integrating test cases with Parachute testing library
- PROTEST/1AM- for integrating test cases with 1AM testing library
The modules planned for development (someday) are:
- PROTEST/WEB- output test cases and protocols to HTML
- PROTEST/FIVEAM- for integratingtest cases with FIVEAM testing library
- PROTEST/PROVE- for integrating test cases with Prove testing library
Testing PROTEST
Load the ASDF system PROTEST/TEST and run (PROTEST/TEST:RUN-ALL-TESTS), or
perform ASDF's TEST-OP on the PROTEST module.
Please note that this does not invoke tests for the modules integrating PROTEST with testing libraries; see the manual for each such module to find the means of testing it.
License
All of PROTEST is licensed under GNU Lisp Lesser General Public License,
except the PROTEST/PARACHUTE system which is an extension to the Parachute
library and therefore licensed under the Artistic license.
PROTEST © 2018 Michał "phoe" Herda
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA