The online community for software testing & quality assurance professionals
   
Active Topics Today's Topics
Sponsors:
Lost Password?

Home
BetaSoft
Jobs
Training
News
Links
Downloads

News Group:
software.testing


Testing
Automation
Performance
Engineering
Miscellaneous
Statistics
Poll
  QA Forums
  Automated Testing
  Expected results for Data Driven tests

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Expected results for Data Driven tests
pvarakantam
New Member

Posts: 1
Registered: Jul 2002

posted 07-12-2002 02:29 PM     Click Here to See the Profile for pvarakantam   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by pvarakantam
I want to combine test data and expected results in data driven tests. I heard somebody saying it is not good practice to combine these two. Could any one tell me why it is not?

------------------

IP Logged

jstrazzere
Moderator

Posts: 2134
Registered: May 2000

posted 07-12-2002 03:58 PM     Click Here to See the Profile for jstrazzere   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by jstrazzere
In the data driven tests I have seen, input and expected results were kept in a table in adjacent columns. It seemed appropriate to me.

I haven't seen any good arguments against it.

Where did you hear that it was a bad idea?

------------------
- Joe (strazzerj@aol.com)

IP Logged

witchcrop
Moderator

Posts: 235
Registered: May 2002

posted 07-15-2002 11:21 PM     Click Here to See the Profile for witchcrop   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by witchcrop

Data_Driven_Automation.txt

 
Whola!

Check out this online discussion on Data Driven Automation. This gives a good insight into how to and how not to implement Data Driven Automation testing.

Hope this will add something ...

------------------
never say die

IP Logged

DavidWJohnson
Member

Posts: 35
Registered: Jun 2001

posted 08-19-2002 11:07 AM     Click Here to See the Profile for DavidWJohnson   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by DavidWJohnson Visit DavidWJohnson's Homepage!
I do not understand why this would be a problem - are you not just saying that for a given set of data/process you are expecting a specific result (pre-deterministic testing). If this were what you are trying to do - then I would say you are following “Best Practices”.

------------------

IP Logged

turbotester
Guru

Posts: 375
Registered: Dec 2001

posted 08-27-2002 09:21 AM     Click Here to See the Profile for turbotester   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by turbotester Visit turbotester's Homepage!
quote:
Originally posted by witchcrop:
Whola!

Check out this online discussion on Data Driven Automation. This gives a good insight into how to and how not to implement Data Driven Automation testing.

Hope this will add something ...



The article you reference is interesting but totally out of date and the people involved obviously are not at the point they should be in their DDE development process. Everything they say DDE's can't do - can be done and is being done with TurboTester. Feel free to look at the site and call me for more info if interested.

------------------
www.turbotester.com

IP Logged

witchcrop
Moderator

Posts: 235
Registered: May 2002

posted 08-28-2002 04:58 AM     Click Here to See the Profile for witchcrop   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by witchcrop
turbotester,

Yep! I kind of dug that out of my archives, so I must admit it is totally out of date.

About the site checking it out right away.

Thanks

------------------
never say die

IP Logged

dlg99
Member

Posts: 7
Registered: Sep 2001

posted 08-28-2002 09:19 AM     Click Here to See the Profile for dlg99   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by dlg99
quote:
Originally posted by pvarakantam:
I want to combine test data and expected results in data driven tests. I heard somebody saying it is not good practice to combine these two. Could any one tell me why it is not?

It all depends on the situation. you have to know an expected result for your test case, so you have to have ability to get it somehow.
the good practice is the one which help you to solve problem in the most efficient way.

for example, in my automated tests:
- expected result can be provided with test data (in matrix, or encoded in the input data: e.g. specialy named files)
- expected result can be generated from the input data and not stored anywhere (actually, usually in this case both input data and expected results were generated in the run-time)

the way I choose is depends on the nuances of test.

Do what you feel is better in _your_ case. If you are sure that test data and expected result combined together will increase speed of your tests execution by eliminating unnecessary file opreations - do it.

IP Logged

All times are PT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic | Top
Post New Topic  Post A Reply
Hop to:

Contact Us | BetaSoft Inc. | Privacy Statement

Copyright © 1997-2003 BetaSoft Inc.


Ultimate Bulletin Board 5.45c