From: <moc...@li...> - 2001-11-18 14:04:04
|
As we are all about testing - I would like to see someone put some work into testing SQL this way - it sounds cool. As you pointed out steve - there is an art to testing just the right amount so it would be interesting to see how this works out - but in theory why not work on it here and see how it pans out? Tim > the other thought that strikes me is that we know that test-first > changes the way we write our code (to make it testable). I would > expect that writing db access for testability would change the > way we write SQL. Has anyone noticed this? > > > I've created a prototype of such a feature, using a > > parser generated with JavaCC and a contributed grammar > > (http://www.cobase.cs.ucla.edu/pub/javacc/). It seems > > to work OK. (The grammar is a little Oracle-specific, > > but should handle standard SQL just fine.) > > > > Do you think this kind of feature would fit well in > > the mock objects core? Or does it seem more like an > > optional feature which should be released/maintained > > separately? > > It sounds like a separate feature to me. Do people think it > should be hosted on the Mock Objects project? > > Steve > > 2$¡¸ÞrÛ#jözùX§X¬´ÊãyËl«ÚuëåËl²«qçè®§zØm¶?þX¬¶Ë(º·~à > zwþX¬¶ÏåËbú?$¡¸ÞrÛ#jö |