The Artima Developer Community
Sponsored Link

Java Buzz Forum
Learning via Unit Tests

0 replies on 1 page.

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 0 replies on 1 page
dion

Posts: 5028
Nickname: dion
Registered: Feb, 2003

Dion Almaer is the Editor-in-Chief for TheServerSide.com, and is an enterprise Java evangelist
Learning via Unit Tests Posted: Mar 18, 2005 11:26 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by dion.
Original Post: Learning via Unit Tests
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Latest Java Buzz Posts
Latest Java Buzz Posts by dion
Latest Posts From techno.blog(Dion)

Advertisement

Mike Clark talks about how he learnt Ruby via tests.

This is one ways in which I learn new tech/APIs too.

  1. For simple exploration, play in an interactive shell
  2. For more, start writing tests

This is definitely valuable in its own right, but what if we all started to shall our test suites?

Wouldn't it be nice to have a few suites for Hibernate 3 say. You could download the tests which would have examples of the various parts and pieces of Hibernate (simple one-one test, simple one-many, ....).

We do have test suites from the open source technologies themselves, and they are great resources, but this would have a very different audience.

Also, what if there were also test suites which have all methods throw new RuntimeException("Not Yet Implemented"). You, the developer, would then go through and try to get as many tests to pass as possible, learning all along the way!

We are actually trying to package some of this ourselves as it would be such a cool resource.

Read: Learning via Unit Tests

Topic: JavaServer Faces (simple) support for Eclipse IDE. Previous Topic   Next Topic Topic: Corporate lessons (On Security) by Ms. Hilton

Sponsored Links



Google
  Web Artima.com   

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