This version of Proteum/IM is a through review of the codebase, converting it to modern C and using current tools for building and testing. It is not currently usable. You must use Proteum/IM 2.0.1, as tagged and released in this project.
- cmake
- cmocka
cd build
cmake ..
make
ctest
Proteum requires GCC to be installed. To use its GUI it is also necessary TCL/TK.
Suposing the executable files are in directory /usr/bin/proteum, run
export PROTEUMIMHOME=/usr/bin/proteum
export PATH=$PROTEUMIMHOME:$PATH
proteumim
Proteum can also be run using command line. We will consider a source file named 'cal.c' and '/tmp/cal' as directory for files for the software under testing (*** caution! instrunctions below are under review and may now work! ***)
- Create project:
pteste -create -S cal -E cal -D /tmp/cal -C "gcc -O -W cal.c -o cal" -research Cal
- List interfaces that can be tested (for interface mutation):
li -D /tmp/cal -P __cal cal __cal
- List functions that can be tested (for mutation analysis):
li -l -D /tmp/cal __cal __cal
- Create test set:
tcase -create -D /tmp/cal Cal
- Add test cases:
tcase -add -D /tmp/cal -E cal -p "input data" -EE __cal_inst -trace cal
- Create mutants:
muta -create -D /tmp/cal Cal
- Run mutants:
tcase -e -D /tmp/cal Cal
exemuta -exec -D /tmp/cal Cal
- Show results:
report -tcase -D /tmp/cal -L 512 Cal