Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JUnit 4 error

 
Nidhi Singhal
Ranch Hand
Posts: 89
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get the following error when I run a test class using JUnit 4

Error: javac: invalid flag: path of the test class

I have included junit 4 jar in the class library and jdk in the classpath


thanks

nidhi
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure you get this error when you *run* the test? It looks like a compile time error to me...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic