Unit test requirements (was Re: [Coin-discuss] OsiCbc)

Alan King kingaj at us.ibm.com
Wed Apr 6 14:47:10 EDT 2005


I agree. 

Alan



Ted Ralphs <tkralphs at lehigh.edu> 
Sent by: coin-discuss-bounces at list.coin-or.org
04/06/2005 02:37 PM
Please respond to
Discussions about open source software for Operations Research 
<coin-discuss at list.coin-or.org>


To
Discussions about open source software for Operations Research 
<coin-discuss at list.coin-or.org>
cc

Subject
Re: Unit test requirements (was Re: [Coin-discuss] OsiCbc)






Brady Hunsaker wrote:
> Without commenting on the specific issues below, I'd like to suggest 
> that we form a group of interested OSI developers to try to more 
> carefully specify expected OSI behavior and design the unit test 
> accordingly.  The issues in this email need to be resolved, as do some 
> that have come up in the past.
> 
> As maintainer of OsiGlpk I have never been too careful about the unit 
> test for these reasons.  If we put some thought into clarifying the 
> behavior we want, then we can write it down for developers and adjust 
> the unit test accordingly so that it is more useful and all interfaces 
> regularly pass the unit test.  I think that will help OSI a great deal.
> 
> What do you think of creating such written guidelines for OSI behavior? 
>  I'm happy to be part of the group, though I would prefer that someone 
> with broader OSI experience take the lead.

A mailing list for the OSI is probably appropriate. I think written 
documentation is a good goal, but realistically, it's easier (and 
perhaps better) just to say that the expected behavior for an interface 
is simply that it pass the unit test. If we design and comment the unit 
test carefully, then any deviations from the required behavior will be 
easy to understand and fix. This way, we don't have to try to keep the 
documentation in sync with the unit test if we make changes. What do you 
think?

Cheers,

Ted
-- 
Dr. Ted Ralphs
Assistant Professor
Industrial and Systems Engineering
Lehigh University
(610)758-4784
tkralphs at lehigh.edu
www.lehigh.edu/~tkr2
_______________________________________________
Coin-discuss mailing list
Coin-discuss at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/coin-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20050406/63ed4bc7/attachment.html>


More information about the Coin-discuss mailing list