Exercise 15 ( Chapter 21 )


Exercise 15 (Chapter 21)

Q1:

Given the following two Xtrack stories, identify as many modules and their parameters as you can:

Story 1: A user can create, read, and update a story via a Web interface. The data fields in a story are number, name, author, description, estimate, iteration, timestamps, and state.

Story 2: The user can provide an estimate for how long it will take to implement a story, prioritize the story, and assign the story to an iteration.

A1:

 createStory(number,name,author,description,              estimate,iteration,state) 

Attempts to create a story with the specified fields. If they're valid and the story is successfully added, it returns true; otherwise, false.

 displayStory(number)  

Returns a display of the specified story.

 updateStory(number,name,author,description,              estimate,iteration,state) 

Attempts to update the story specified by number with the specified values. If they're valid and the specified story exists and is updated successfully, it returns true; otherwise, false.

 prioritizeStory(number,priority)  

Attempts to update the story specified by number with the specified priority. If the story exists, the specified priority is valid, and the story is successfully updated, it returns true; otherwise, false.

 assignIteration(storyNumber,iterationNumber)  

Attempts to update the story specified by storyNumber to the specified iteration. If the specified story exists, the specified iteration number is valid, and the story is successfully updated, it returns true; otherwise, false.



Testing Extreme Programming
Testing Extreme Programming
ISBN: 0321113551
EAN: 2147483647
Year: 2005
Pages: 238

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net