From: Greg M. <gre...@ya...> - 2001-11-18 20:58:51
|
Why don't I finish the prototype & pass it along to you guys. Then you can decide if it's worth inclusion in the project, and if so, in what capactiy. --- moc...@li... wrote: > 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ö > > > _______________________________________________ > Mockobjects-java-dev mailing list > Moc...@li... > https://lists.sourceforge.net/lists/listinfo/mockobjects-java-dev __________________________________________________ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.com |