• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

JTest-like tools?

 
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are there any tools out there that can enforce coding standards and generate JUnit tests like JTest?

JTest is 70K for a server license. That is way out of my league price wise.
 
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by M Burke:
Are there any tools out there that can enforce coding standards and generate JUnit tests like JTest?

JTest is 70K for a server license. That is way out of my league price wise.



Checkclipse is a cool tool for checking for coding standard.
 
author & internet detective
Posts: 40791
828
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
CheckStyle and PMD do static analysis. As far as I know, they don't offer the ability to create your own rule as JTest does, but they come with a vast set of rules.

For generating unit tests, I would say write your own. We pay for JTest and don't use this "feature." Generated tests can only tell you the current state of your code. Except on trivial code, they miss code paths. And most importantly, they don't know your business logic. I find hand crafted tests to be more valuable. There may be a tool that does this for free - I haven't looked.
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Checkclipse is a good tool for checkin coding standard.It does a static analysis of the source.

You can use find bugs for doing a static analysis of your compiled byte code and generate a report.I found it very useful but I do not think that it provides any way to add your own conditions for validation.
 
reply
    Bookmark Topic Watch Topic
  • New Topic