This week's book giveaway is in the General Computing forum.
We're giving away four copies of Emmy in the Key of Code and have Aimee Lucido on-line!
See this thread for details.
Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

junit best practices and related patterns

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Since Junit and xunit have been around for a while now, I am wondering if some best practices and unit testing related patterns are being captured and documented somewhere (maybe in you book).
Thanks.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"hassane E.",
I'd like to ask you to change your display name a bit as it currently does not comply with our naming policy (which disallows initials for last name).
Thanks.
 
hassane EL Aouni
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Lasse
Done
Hassane
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not familiar with xunit, what is it? Could you point me to information about it?
Thanks,
Steve

Originally posted by hassane E.:
Hi,
Since Junit and xunit have been around for a while now, I am wondering if some best practices and unit testing related patterns are being captured and documented somewhere (maybe in you book).
Thanks.

 
author & internet detective
Posts: 39586
781
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Steve,
xUnit is a language independent way of refering to a framework based on JUnit in different languages. For example, C++ has CppUnit.
 
Jeanne Boyarsky
author & internet detective
Posts: 39586
781
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hassane,
JavaWorld has a good article on Junit bets practices.
 
Author
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by hassane E.:
Hi,
Since Junit and xunit have been around for a while now, I am wondering if some best practices and unit testing related patterns are being captured and documented somewhere (maybe in you book).
Thanks.


The book is full of testing best practices. Actually every chapter has several of them. They are sprinkled all over the chapters when a point is made.
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Test Driven Development by Example" by Kent Beck also has some nice chapters on unit testing patterns.
 
I'm not dead! I feel happy! I'd like to go for a walk! I'll even read a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!