Jester – The JUnit Test Tester

Slides:



Advertisements
Similar presentations
1 Dynamic Proxies Explained Simply. 2 Dynamic Proxies License Copyright © 2008 Ciaran McHale. Permission is hereby granted, free of charge, to any person.
Advertisements

© 2006 Open Grid Forum GridRPC Interoperability Test Response to comments Yusuke Tanimura.
Georgia Institute of Technology DrJava Appendix A Barb Ericson Georgia Institute of Technology May 2006.
MC365 Ant. Today We Will Cover: Overview of Ant Installing Ant Using the Ant command line tool Various Ant commands available Using Ant in Eclipse.
2/27/02Scott White Obtain Permission Obtaining Permission is the best way to ensure you are in copyright compliance. University of Texas Permission Guidelines.
Object-Oriented Enterprise Application Development Tomcat 3.2 Configuration Last Updated: 03/30/2001.
Version Control Systems Phil Pratt-Szeliga Fall 2010.
MC365 JDBC in Servlets. Today We Will Cover: DBVisualizer Using JDBC in servlets Using properties files.
Useful Tools for Testing
CS 2511 Fall  Windows:  Start->Specialized Academic Software- >Programming Languages->NetBeans->NetBeans IDE x.y.z  where x.y.z is a version.
Program Development and Programming Languages
Digital Citizenship Presentation Mr. E. Colston Note to Portfolio Reviewers: The following material is not my own creation, though it has been modified.
MBAC 611.  We have been using MS Access to query and modify our databases.  MS Access provides a GUI (Graphical User Interface) that hides much of the.
Unit testing Java programs1 Unit testing Java programs Using JUnit 4 “If it isn't tested, it doesn’t work”
DAT602 Database Application Development Lecture 15 Java Server Pages Part 1.
Introduction to UNIX/Linux Exercises Dan Stanzione.
Content Management Systems …mostly Umbraco ALL ABOUT.
1 EPICS EPICS Licensing BESSY, May 2002 Andrew Johnson.
JUnit in Action SECOND EDITION PETAR TAHCHIEV FELIPE LEME VINCENT MASSOL GARY GREGORY ©2011 by Manning Publications Co. All rights reserved. Slides Prepared.
Testing in Extreme Programming
IOS110 Introduction to Operating Systems using Windows Session 8 1.
Phoenix Software Projects Larry Beaty © 2007 Larry Beaty. Copying and distribution of this document is permitted in any medium, provided this notice is.
Digital Intuition Cluster, Smart Geometry 2013, Stylianos Dritsas, Mirco Becker, David Kosdruy, Juan Subercaseaux Setup Instructions Overview 1. License.
CPSC1301 Computer Science 1 Overview of Dr. Java.
COP 3330 Notes 1/12. Today's topics Downloading Java and Eclipse Hello World Basic control structures Basic I/O Strings.
Selenium Web Test Tool Training Discover The Automating Power Of Selenium Author : Girija Prasad Panda Alcatel-Lucent.
Unit Testing with JUnit and Clover Based on material from: Daniel Amyot JUnit Web site.
Refactoring and Synchronization with the StarTeam Plug-in for Eclipse  Jim Wogulis  Principal Architect, Borland Software Corporation.
Computer Safety Sid Holder 8k Viruses Hacking Backing Up.
Unix Shell Basics Edited from Greg Wilson's "Software Carpentry"
Copyright 2007 © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP.
Jericho CSCI 7818 September 5, 2001 Carissa Mills.
© Spiros Mancoridis Software Engineering (Unit Testing Tools) Dependable Software Systems Topics in Unit Testing Tools Material drawn from [ junit.org,
JUnit A Unit Testing Framework for Java. The Objective Introduce JUnit as a tool for Unit Testing Provide information on how to: Install it Build a test.
All the dSoftArk Tools Getting started!. Tools dSoftArk is a semi-realistic, agile, development project –Industrial strength software (programming, TDD,
© Crown copyright Met Office PRECIS Licence Agreement PRECIS Workshop, University of Reading, 20 th – 24 th September 2010.
Digital Intuition Cluster, Smart Geometry 2013, Stylianos Dritsas, Mirco Becker, David Kosdruy, Juan Subercaseaux Search Basics – Templates Tutorial Overview.
Software Installation and Copyrights Basic Computer Concepts Installation Basics  Installation Process  Copy files from distribution disks.
Software Design– Unit Testing SIMPLE PRIMER ON Junit Junit is a free simple library that is added to Eclipse to all automated unit tests. The first step,
Creating New Forms Projects can appear more professional when using different windows for different types of information. Select Add Windows Form from.
Dr. Abdullah Almutairi Spring PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used,
Copyright Rules and Regulations. What is copyright Copyright is a form of protection grounded in the U.S. Constitution and granted by law for original.
1 Example Uses of Java Reflection Explained Simply.
Free Software - Introduction to free software and the GPL Copyright © 2007 Marcus Rejås Free Software Foundation Europe I hereby grant everyone the right.
SWE 434 SOFTWARE TESTING AND VALIDATION LAB2 – INTRODUCTION TO JUNIT 1 SWE 434 Lab.
Tips for using Java with Internet Explorer
Appendix A Barb Ericson Georgia Institute of Technology May 2006
Linked Lists in Action Chapter 5 introduces the often-used data public classure of linked lists. This presentation shows how to implement the most common.
Open Source Software: Top 10 Myths that Every In-House, Government, & Private Practice Lawyer Should Know 2017 NAPABA Convention Washington, D.C.
Mini Robot Chassis Top View
Appendix A Barb Ericson Georgia Institute of Technology May 2006
Trends like agile development and continuous integration speak to the modern enterprise’s need to build software hyper-efficiently Jenkins:  a highly.
Unit testing Java programs Using JUnit
Investigating the correct and legal way to use software
eXtremely Distributed Software Development
Designing the Architecture for Grid File System (GFS)
Just Dial QuickBooks File Doctor Support Number
How to open password- protected Excel file
Copyright Notice Copyright Bob Bailey This work is the intellectual property of the author. Permission is granted for this material to be shared.
Christina C. Wray & Sarah Norris
Dependable Software Systems
Test-driven development (TDD)
Peer Reviews With Cheese and Bacon Opinion Writing.
Peer Reviews With Cheese and Bacon Opinion Writing.
Automated test.
APACHE LICENSE HISTORICAL EVOLUTION
Running a Java Program using Blue Jay.
Workshop for Programming And Systems Management Teachers
Software Engineering and Architecture
Permission for this presentation is currently restricted. If you are not running Microsoft Office 2003 or an application that supports presentations with.
Presentation transcript:

Jester – The JUnit Test Tester “Why just think your tests are good when you can know for sure? Sometimes Jester tells me my tests are airtight, but sometimes the changes it finds come as a bolt out of the blue. Highly recommended.” Kent Beck

What is Jester? tests Java code and JUnit tests extends traditional Code Coverage finds test-suite problems finds untested statements provides unique insights into the structure of a code base

How does Jester work? (1) Knowing that a statement isn't executed at least once by the test suite, proves that it isn't being tested. If a line of code is executed, it doesn't necessarily follow that it's tested.

How does Jester work? (2) Unlike a traditional code coverage tool, Jester doesn't watch which lines of code have been executed. Instead Jester changes the source code, recompiles it, and runs the test suite to see if anything breaks. For instance, it will change a 1 to a 2, or change an if (x > y) to if (false). If the test suite isn't paying close enough attention to notice the change, then a test is missing.

How to install Jester download Jester from http://jester.sourceforge.net J2SE (>=1.4) and JUnit 3.8.1 must already be installed add Jester to the classpath run a simple example with 'test.bat‘ (the directory containing 'test.bat' must also be on the classpath.

How to run Jester (1)

How to run Jester (2)

Jester and XML

Jester‘s Licence Model Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, provided that the above copyright notice(s) and this permission notice appear in all copies of the Software and that both the above copyright notice(s) and this permission notice appear in supporting documentation.