The Artima Developer Community
Sponsored Link

Weblogs Forum
Programming with "Duh" Typing

370 replies on 371 pages. Most recent reply: Aug 8, 2007 9:54 AM by James Watson

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 370 replies on 371 pages [ « | 1 ... 322 323 324 325 326 327 328 329 330 ... 371  | » ]
Petrik de Heus

Posts: 19
Nickname: p8
Registered: Jul, 2007

Re: word games Posted: Jul 31, 2007 1:05 PM
Reply to this message Reply
Advertisement
> How would you define the behavior of a web-browser as a
> series of tests? How about even just a SAX parser? Do
> you really think it would be easier to understand what is
> required of a program if all you were given were a set of
> tests to run?

I'd be a lot more confident to build something close to what is expected if I were given tests instead of a requirements document with the usual ambivalence. There would also be a lot less discussion about correctness and interpretation. Either the tests pass or they fail.

And if it works for jRuby...

"Testing in jruby is based on two seperate unit test suites. The first and foremost is rubicon (http://rubyforge.org/projects/rubytests). This
is the same test suite that ruby uses to verify the interpreter is running correctly. The second is our own unit tests via ant/junit/minirunit. This test suite is mostly for tests that we cannot or do not want to submit to rubicon (a good example is tests involving java integration)"
http://svn.codehaus.org/jruby/tags/jruby-0_9_0/docs/README.test

Flat View: This topic has 370 replies on 371 pages [ « | 322  323  324  325  326  327  328  329  330 | » ]
Topic: Programming with "Duh" Typing Previous Topic   Next Topic Topic: Python 3000 Plea for Help

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use