How to Test A Function that interacts with database and returns Some Data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gauravgmbhr
    New Member
    • Feb 2007
    • 107

    How to Test A Function that interacts with database and returns Some Data

    How to Test (Using Any Testing Tools Like PHPUnit)Those Function that interact with the database SERVER and returns Some Data and the data that comes From the Function is always Volatile I.e each time u call the Function the output may be different.
    PLZ HELP ME
  • satya61229
    New Member
    • Feb 2007
    • 24

    #2
    Originally posted by gauravgmbhr
    How to Test (Using Any Testing Tools Like PHPUnit)Those Function that interact with the database SERVER and returns Some Data and the data that comes From the Function is always Volatile I.e each time u call the Function the output may be different.
    PLZ HELP ME
    You need to mention which kind of test you are looking for.

    Comment

    • gauravgmbhr
      New Member
      • Feb 2007
      • 107

      #3
      Originally posted by satya61229
      You need to mention which kind of test you are looking for.

      I am lookin for white box unit testing

      Comment

      Working...