java - no org.junit.test package in maven junit 4.5 -


i have maven dependency junit version 4.5 , want use @test announciation cant because artifact not have org.junit.test package in it. why , how can use @test maven artifact?

the qualified class org.junit.test. it's in there.

<dependency>   <groupid>junit</groupid>   <artifactid>junit</artifactid>   <version>4.5</version> </dependency> 

a test:

import org.junit.assert; import org.junit.test;  public class thisisatest {      @test     public void method() {         assert.asserttrue("omg test!", true);     }  } 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -