f

Upcoming events

Related documents

SEERC Bi Annual Report 2020-2021

Click here to download

SEERC Gender Equality Policy

Click here to download

SEERC Gender Data Report 2022

Click here to download

SEERC Bi Annual Report 2019-2020

Click here to download

pdf

SEERC 15 Years Brochure

Click here to download

SEERC Annual Report 2018

Click here to download

SEERC Annual Report 2017

Click here to download

SEERC Annual Report 2016

Click here to download

Brief Profile of SEERC 2016

Click here to download

SEERC Annual Report 2015

Click here to download

SEERC Bi-annual Report 2013-2014

Click here to download

SEERC Annual Report 2012

Click here to download

SEERC Annual Report 2011

Click here to download

SEERC Annual Report 2010

Click here to download

SEERC Annual Report 2009

Click here to download

SEERC Annual Report 2008

Click here to download

SEERC Annual Report 2007

Click here to download

SEERC GDPR Policy

Click here to download

Share this on

Lazy Systematic Unit Testing for Java

Lazy Systematic Unit Testing for Java
Download poster
Presenter(s) Dr Anthony Simons, Department of Computer Science, University of Sheffield
Seminar type Open Seminar Series
Location Conference room L.Sofou Bld.
Date and time 17/06/2010, 10:00-11:00
Website http://

Testing from state-based specifications is a proven technique for exercising software components, to check for all expected and unwanted behaviours. However, in the Agile Methods community, there is a resistance even to simple state-based specifications and an over-reliance on manually created regression tests, which fail to find all faults. The "lazy systematic unit testing" method was created in response. It is based on the two notions of "lazy specification", the ability to defer finalising the software's apparent specification until a late stage in development; and "systematic testing", the ability to explore the state-space of a software component exhaustively, to Bounded depth.

The approach is exemplified in a Java unit testing tool, JWalk. This infers the apparent specification of compiled Java classes, by a combination of static and dynamic analysis, and limited interaction with the programmer. The tool is able to excercise all method protocols, all algebraic constructions and all high-level state transitions, to bounded depth. Once the oracle for the specification has been acquired, testing is fully automatic. The test sets adapt gracefully when changes are made to the code; and re-generated tests perform significantly better than regression tests. In a testing challenge, a JWalk tester was able to test two orders of magnitude more paths than an expert tester writing manual tests for JUnit.

We use cookies to ensure you get the best experience on our website.
You can disable cookies by modifying the settings in your internet browser’s options.