Arquillian - running tests not working
问题 I am trying to add an test based on arquillian . When I do mvn test I get this error: Test: @RunWith(Arquillian.class) public class SomeEntityServiceTest extends ApiTestCase { @Inject CartStatusService service; @Test public void testCreate() throws Exception { SomeEntity someEntity = new SomeEntity(); someEntity.setActive(1); service.create(someEntity); } } ApiTestCase: public class ApiTestCase { @PersistenceContext(unitName = "myDataSource") protected EntityManager em; @Deployment public