0 Replies Latest reply on Mar 19, 2014 6:39 PM by maol

    How to organize integration test

    maol Newbie

      Hi,

      I would like to ask for your opinion about the organization of integration tests. Assuming that we have a solution in the form of a Java EE aplication EAR: JAX-RS (.war)-> EJB_1 (.jar) -> EJB_2 (.jar) -> JPA (.jar) -> DB, where each component consists of about 50 classes.


      We have already corectly implemneted unit tests for the single classes of each components by using mock object and now we want to move to integration testing. How you understand the integration tests in such a solution?

      a) Is integration tests are tests covering communication between classes, but in the same single component? Is the class A, B and C function correctly in the task realization?

      b) Is integration tests are tests covering communication between components EJB_1 and EJB_2. If so, what are they different from the end-to-end tests?


      Please your opinions on this topic...