Introduction to Software Testing
(Paul deGrandis) [Reading assignment: Chapter 15, pp. 231-252 and notes by Paul deGrandis]
Introduction to Software Testing (Paul deGrandis) [Reading - - PowerPoint PPT Presentation
Introduction to Software Testing (Paul deGrandis) [Reading assignment: Chapter 15, pp. 231-252 and notes by Paul deGrandis] Overview Terms and Definitions Tool Overview Static Checkers Unit Testing Coverage and Profiling
(Paul deGrandis) [Reading assignment: Chapter 15, pp. 231-252 and notes by Paul deGrandis]
wget http://www.pauldee.org/vandvmakefile mv vandvmakefile Makefile
export CLASSPATH=`pwd`/junit/junit-4.4.jar:`pwd`/emma/emma.jar:.
make
GCC Warnings
Cyclone - a safe C GNU Compiler Collection FindBugs - Find Bugs in Java
Screenshots
Demo
Demo
wget http://www.splint.org/downloads/splint-3.1.2.src.tgz
tar -xzvf splint-3.1.2.src.tgz
cd splint-3.1.2/ ./configure make
Demo
Demo
splint -preproc +weak +show-summary +stats ../src/*.c
splint -preproc +checks +show-summary +stats ../src/*.c
Screenshots
Demo
Demo
wget http://prdownloads.sourceforge.net/findbugs/findbugs-1.2.1.tar.gz
tar -xvzf findbugs-1.2.1.tar.gz cd findbugs-1.2.1
Demo
./findbugs
part
environment
Screenshots
Check Unit Test Framework http://check.sourceforge.net
Demo
http://check.sourceforge.net/doc/check.html/index.html
Demo
wget http://downloads.sourceforge.net/check/check-0.9.5.tar.gz
tar -xvzf check-0.9.5.tar.gz
cd check-0.9.5 ./configure make
Demo
suite)
Demo
Demo
Demo
Demo
suite)
Demo
example/square
Demo
example/square
Screenshots
Demo
http://junit.sourceforge.net/ (look at the cookbook)
Demo
wget http://downloads.sourceforge.net/junit/junit-4.4.jar
export CLASSPATH=$CLASSPATH:`pwd`/junit-4.4.jar:.
Demo
Demo
Demo
Demo
Demo
Screenshots
GCC - GCOV
Demo
See the Screenshot one slide back
Screenshots
EMMA
http://emma.sourceforge.net/intro.html
Demo
wget http://downloads.sourceforge.net/emma/emma-2.0.5312-lib.zip
unzip emma-2.0.5312-lib.zip
java -cp emma.jar:./sample:../junit/junit-4.4.jar emma instr -outdir ./sampleout -cp ./sample/ SimpleTest
java SimpleTest java -cp emma.jar emma report -r html -in sampleout/coverage.em,sampleout/coverage.ec
Screenshots
Valgrind
Demo
wget http://downloads.sourceforge.net/check/check-0.9.5.tar.gz
tar -xvjf valgrind-3.2.3.tar.bz2
cd valgrind-3.2.3 ./configure make
Demo
gcc -g myprog.c
valgrind --leak-check=yes myprog arg1 arg2
http://valgrind.org/docs/manual/quick-start.html#quick-start.intro
Screenshots
JConsole