Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

test scenarios

 
akshitha Akki
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If there is a code doing the following,

To find the shortest distance from Location A to Location B taking the low traffic as well as a constraint,

what are the test scenarios that can be implemented to check that the code works correctly?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This sounds like homework or an interview question. What test scenarios can you think of?
 
akshitha Akki
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I could not control myself from posting this question, I thought of getting an hint on solving the problem.

At the first thought it gave me idea to remember about the algorithms that can be used to find the shortest path between 2 points. So basically it should be something similar to testing any algorithms.But I was unable to get a start on that part.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The hint is to start. Surely you can think of one scenario.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic