Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need clarification on URLyBird 1.3.1 requirement

 
Ed Tse
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I reread the assignment html many times and I want to make sure I got it right, all the client have to do is :

1) search the db and get records that match hotel name or location field?
2) Book the hotel (I guess this implies deleting the record from database)

Is that it? There were no requirement to add entries or anything else, right?
 
Ed Tse
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anyone? does it mean that the database entry will never beed added using URLybird client?
 
B Chen
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Book room means updating the record with the customer ID.
No other updates is required from the client GUI. Nor will records be created or deleted from the client GUI.
 
Ed Tse
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
does the client show booked records?
 
B Chen
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is nothing in the requirements about what to show/filter. So I think it is up to you. I showed everything.
 
Jason Moors
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a requirement that states that bookings are only taken within 48 hours of the start of room occupancy. This implies to me that only rooms that meet this criteria should be displayed, i.e filtering on date.

Otherwise you would end up with a list containing past and future rooms.

I think filtering on booked rooms also makes sense, as there are no requirements to view details of booked rooms.

Jason.
 
Ed Tse
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
should we put a filter check box to filter out booked hotel ? Or just put it in choice.txt
 
Jason Moors
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I haven't started the GUI section, so I'm not sure what other people have done. But to me it makes sense to filter the booked rooms, so I think I will include my desision in the choice.txt.

From the requirements the system is used to booked rooms, it also implies that another application is used for reporting, so in my view it is more user friendly to provide only available rooms.

Jason
 
tom smith
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my data file only shows old dates.

so all the rooms are well past 48 hours.

is this normal?

--

also, I a put a 'delete record' button on the GUI to test out the deleteRecord implementation.
 
B Chen
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The data file will probably not contain any dates you can use to test effectively. You can write another small program that uses your Data class to change the dates on some of the records to better dates to test with.
Adding GUI items to test your Data class will be tedious. I used JUnit to test out my Data class entirely before moving on to the GUI.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic