Re: Struts2 Unit Testing

2008-04-28 Thread Adam Hardy
Nils-Helge Garli Hegvik on 28/04/08 17:51, wrote: - Don't get caught up in the code coverage hysteria. Focus on writing good tests instead of how many lines and branches of code you have tested. I've no idea what level of code coverage Nils holds to be hysterical, but I wouldn't take his advic

Re: Struts2 Unit Testing

2008-04-28 Thread Nils-Helge Garli Hegvik
> > > - Don't get caught up in the code coverage hysteria. Focus on writing > > good tests instead of how many lines and branches of code you have > > tested. > > > > I've no idea what level of code coverage Nils holds to be hysterical, but I > wouldn't take his advice to mean you should avoid cod

Re: Struts2 Unit Testing

2008-04-28 Thread Adam Hardy
Nils-Helge Garli Hegvik on 28/04/08 09:02, wrote: - Don't get caught up in the code coverage hysteria. Focus on writing good tests instead of how many lines and branches of code you have tested. I've no idea what level of code coverage Nils holds to be hysterical, but I wouldn't take his advic

Re: Struts2 Unit Testing

2008-04-28 Thread Nils-Helge Garli Hegvik
This is a really big question. Just having unit tests does not necessarily mean that your code is any better. Writing good unit tests is an art (for any code, not just Struts 2), and is hard to summarize in a few lines. A good book would be a good place to start. I haven't read too many books on th

Re: Struts2 Unit Testing

2008-04-27 Thread Jeromy Evans
Frans Thamura wrote: hi there, i just have several question around unit testing for our project, cimande and we have lack of skill to to unit testing for our core (cimande), and our apps on cimande (postila, papaje, takatu, etc). anyone can share? how to start a good unit testing for Struts2