T
Taria
Whee! Lol, sorry, I think I'm insane after reading a ton of
documentation trying to figure JUNIT out.
Aside from having problems figuring out a simple Linked List program,
my assignment is to write a JUNIT testing program to go with it. I
sat at the keyboard, fumbling through many different sites trying to
conjure something up and I'm having trouble trying to populate the
initial linked list. bleah.
Ok, so I went back to an easier type of program to implement JUNIT
since I'm already having trouble with initializing a linked list. I
followed a tutorial, copied their very simple "add money" program and
proceeded to write a JUNIT program to go with that (not part of my
assignment directly but I was hoping this would help.)
Did it? Well, sorta. The red bar flashes at me and I am clueless how
to go about debugging an error that JUNIT has found. All the
tutorials I have gone through usually addresses the green bar but not
what to do when the method is not functioning properly. My experience
with past debuggers is that some step you thru the program's execution
and you are able to set up breaks, examine values of variables, etc.
So, how do you use JUNIT the same way? Am I looking at JUNIT the
wrong way?
Any tips or advice on this subject is appreciated.
Marion
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.
documentation trying to figure JUNIT out.
Aside from having problems figuring out a simple Linked List program,
my assignment is to write a JUNIT testing program to go with it. I
sat at the keyboard, fumbling through many different sites trying to
conjure something up and I'm having trouble trying to populate the
initial linked list. bleah.
Ok, so I went back to an easier type of program to implement JUNIT
since I'm already having trouble with initializing a linked list. I
followed a tutorial, copied their very simple "add money" program and
proceeded to write a JUNIT program to go with that (not part of my
assignment directly but I was hoping this would help.)
Did it? Well, sorta. The red bar flashes at me and I am clueless how
to go about debugging an error that JUNIT has found. All the
tutorials I have gone through usually addresses the green bar but not
what to do when the method is not functioning properly. My experience
with past debuggers is that some step you thru the program's execution
and you are able to set up breaks, examine values of variables, etc.
So, how do you use JUNIT the same way? Am I looking at JUNIT the
wrong way?
Any tips or advice on this subject is appreciated.
Marion
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.