The Artima Developer Community
Sponsored Link

Java Buzz Forum
JDave 0.8.0, behavior driven development for Java

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
News Manager

Posts: 47623
Nickname: newsman
Registered: Apr, 2003

News Manager is the force behind the news at Artima.com.
JDave 0.8.0, behavior driven development for Java Posted: May 19, 2007 8:20 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by News Manager.
Original Post: JDave 0.8.0, behavior driven development for Java
Feed Title: testdriven.com
Feed URL: http://feeds.feedburner.com/testdrivennewslinks?news=10&links=10
Feed Description: Your test-driven development community
Latest Java Buzz Posts
Latest Java Buzz Posts by News Manager
Latest Posts From testdriven.com

Advertisement
JDave (http://www.jdave.org) is a framework which provides an easy way to specify behavior of your classes. Key concepts are specification, which is a container for behaviors. Behaviors define the behavior of a class and they are always expressed within some context. Context defines the setting where particular behavior applies.

For example, we could specify a Stack by first identifying that it has (at least) three interesting states, an empty stack, a full stack and a stack which is neither empty nor full. We would then continue by specifying the behavior of a Stack when it is in these states. The behavior can then be expressed as:

Stack specification
Empty stack
- is empty
- is no longer empty after push
- ...
Full stack
- is full
- complains on push
- contains all items
- ...
Stack which is neither empty nor full
- adds to the top when pushing new item
- ...

Read: JDave 0.8.0, behavior driven development for Java

Topic: 3 Minute Guide To Configuring NFS & NIS Clients Previous Topic   Next Topic Topic: Full Disclosure: NIS Security Hole / Full Access by NIS Client Root

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use