• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unit testing with no IDE

 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'd like to know if "Pragmatic Unit Testing in Java 8 with JUnit" shows how to make unit testing using just command line instructions, for those who can't use IDEs.
Thank you.
 
author
Posts: 799
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Greetings Ferdinand,

Thanks for the question. It does not cover command line testing, unfortunately. However, the good news is that it's reasonably easy to run your tests from the command line:

http://stackoverflow.com/questions/2235276/how-to-run-junit-test-cases-from-the-command-line

More often than not, a build tool like Maven or Ant is your best bet to controlling and running unit tests from the command line; those tools were unfortunately out of scope for the book, but again the good news is that it's pretty easy to set up unit testing in them.

Regards,
Jeff
 
reply
    Bookmark Topic Watch Topic
  • New Topic