DevPinoy.org
A Filipino Developers Community

>>> First two to make 3 wins! <<<

Test-driven programming with a student
Last weekend, i helped my friend and former student with her sudoku solver project in Java.  Basically, her professor gave her a list of methods for the solver class with their expected behavior.  

I wanted to teach her test-driven programming so i asked for a copy of eclipse from the other development team here and gave it a shot.  Familiarizing with java (it has been three years already since my last java encounter) was not a problem since i am on c#, i think it's just with eclipse.  I found their current IDE version to be very user-friendly (the naming guideline tooltips are cool by the way).

I used JUnit 1.4 with their new annotation-based (attribute in .NET) test case constructs which is similar with NUnit.  

By the end of the day, i asked her what she thinks of JUnit and our test-driven programming approach.  She's beggining to like it.  Just last minute, she asked me if there's a counterpart of JUnit for C programming.

Posted 09-26-2006 3:12 PM by jokiz
Filed under: ,

Comments

dehran ph wrote re: Test-driven programming with a student
on 09-26-2006 2:35 AM

oh, did SHE missed asking you to have dinner outside besides you taught her a lot hehe;)

jokiz wrote re: Test-driven programming with a student
on 09-26-2006 2:39 AM

bro, she's a close friend.  if you're a teacher, you don't mess with your students, hehehe

lamia wrote re: Test-driven programming with a student
on 09-26-2006 5:42 AM
Well... If you're some other kind of teacher maybe you will hehehe. Just kidding. :) Although I'm using Java, I never had a chance to try JUnit. I wish I could get somebody to teach me because there's just too many things to do and there's too little time to bother with it... :(
jokiz wrote re: Test-driven programming with a student
on 09-26-2006 6:00 AM

all i can say is just try it, programming without automated unit tests is PITA

cruizer wrote re: Test-driven programming with a student
on 09-26-2006 1:45 PM

bangis mo master jokiz, pajava-java ka na lang ha! :D

jop wrote re: Test-driven programming with a student
on 09-27-2006 11:13 AM
Ron Jeffries' site, http://xprogramming.com/software.htm has a list of xUnit tools for all sorts of languages. You should start looking for one there. /jop

Copyright DevPinoy 2005-2008