Re: JUNIT questions



Taria wrote:

P.S. I did not include any code since I'm really using a tutorial's
code (which is flawless and works). My own JUNIT did not work, it
flashed red at me and this is where I'm stuck. :(

It's a bit difficult to tell what's wrong with code without seeing it,
or the error messages.

Are you running your JUnit test case from inside an IDE? Because that
can be tres helpful - like showing you the failing test line.

--
Chris "electric hedgehog" Dollin
"Reaching out for mirrors hidden in the web." - Renaissance, /Running Hard/

.



Relevant Pages

  • JUNIT very slow.......
    ... I have a small program I build as a stand-alone ... and as a junit test. ... I am using Apache Ant. ... When run as the Junit ...
    (comp.lang.java.programmer)
  • JUnit problem
    ... I'm trying to run a JUnit test in Eclipse 3.1. ... the version of the JUnit plugin ...
    (comp.lang.java.programmer)
  • Re: what is assertion in java?
    ... it is possibly better to have a testing framework in place. ... write a JUnit test that ensures that a particular method is never called with a null value? ... Having code with asserts can be very helpful, ...
    (comp.lang.java)