Search the web
Sign In
New User? Sign Up
model-based-testing · This mailing list is for software test professionals interested in the model-based testing approach.
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Type of testing MBT is best for?   Message List  
Reply | Forward Message #573 of 632 |
Re: [model-based-testing] Type of testing MBT is best for?

Alan, can you post an example of what a grammar based model would look like?

Thanks

Paul

On Wed, Apr 15, 2009 at 10:35 PM, Alan Jorgensen <aaj@...> wrote:


And it depends upon what kind of MBT you are talking about.  I have successfully used grammar based models (GBM) to saturate large databases with synthetic but realistic data; then other forms of testing can be conducted such as performance.  Another form of GBM also generates complex queries with expected results.

I discovered the MS Calculator Scientific Mode bug, (((((((((((((((0=))))))))))))))), with a GBM that generated large, random arithmetic expressions.  This string is a reduction of the rather large string that originally uncovered the defect in Windows 2000 (which still persists through Vista).

On the other hand, any model that requires maintenance when the product undergoes change should be examined carefully for value.

Alan A. Jorgensen, Ph.D.



Paul Rogers wrote:

ive done some mbt, all on web apps. The current app I work on doesnt seem particularly suitable ( its a data collection app, the nearest well known example would be google analytics) although maybe I just havent seen where a model could be useful yet.

The biggest problem in the past was what seemed like the daunting task of building the model. But if you do it just a bit at a time, possibly one screen or small functional area it turns out that it isnt as hard as you thought.

Ive written my own models, which were a layer above watir. I was one of the original authors of watir, so it may have been a bit easier for me.

Paul

On Wed, Apr 15, 2009 at 7:34 PM, lin.yaxiong <lin.yaxiong@...> wrote:


Just want to get a poll on the type of testing on what type of application you've found MBT is good (effective) for? Did you use any tool (comercial or open source) or any framework? What are the challenges you had to overcome to make MBT work?






Thu Apr 16, 2009 3:19 pm

pmr16366
Online Now Online Now
Send Email Send Email

Forward
Message #573 of 632 |
Expand Messages Author Sort by Date

Just want to get a poll on the type of testing on what type of application you've found MBT is good (effective) for? Did you use any tool (comercial or open...
lin.yaxiong
Offline Send Email
Apr 16, 2009
1:36 am

ive done some mbt, all on web apps. The current app I work on doesnt seem particularly suitable ( its a data collection app, the nearest well known example...
Paul Rogers
pmr16366
Online Now Send Email
Apr 16, 2009
3:05 am

And it depends upon what kind of MBT you are talking about. I have successfully used grammar based models (GBM) to saturate large databases with synthetic but...
Alan Jorgensen
softtest123
Offline Send Email
Apr 16, 2009
4:57 am

Alan, can you post an example of what a grammar based model would look like? Thanks Paul...
Paul Rogers
pmr16366
Online Now Send Email
Apr 16, 2009
4:41 pm

Sure. Here is a trivial grammar model for generating numberic expressions and the corresponding .C code. You would need the model.h file to compile the .C...
Alan Jorgensen
softtest123
Offline Send Email
Apr 16, 2009
9:27 pm

thanks! Shame I have to try and remember C though ;-) Paul...
Paul Rogers
pmr16366
Online Now Send Email
Apr 16, 2009
9:36 pm

I have used MBT on web application testing and unit test on simple java classes. I agree with Paul that the biggest barrier for applying MBT is creating the...
lin.yaxiong
Offline Send Email
Apr 17, 2009
4:46 am

my models have generally been built after the initial production code developmnet, so its far from perfect. However what I have been doing it using graphviz to...
Paul Rogers
pmr16366
Online Now Send Email
Apr 17, 2009
3:21 pm

I have posted more or less a similar response in the past, but ... We model embedded software applications (mostly control related such as automotive and...
scottranville
Offline Send Email
Apr 16, 2009
1:30 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help