I would like toask foryour opinion about the organization of integration tests. Assuming thatwe have a solutioninthe form of aJava EE aplication EAR: JAX-RS (.war)-> EJB_1 (.jar) -> EJB_2 (.jar) -> JPA (.jar) -> DB, where each componentconsists of about50classes.
We have already corectly implemneted unit testsfor the single classesof each components by using mock object andnow we want tomove tointegration testing. How youunderstand theintegration testsin such asolution?
a) Isintegrationtestsaretestscoveringcommunicationbetween classes, but in the same single component? Is theclass A,B and Cfunction correctly inthe task realization?
b) Isintegrationtestsaretestscoveringcommunicationbetween componentsEJB_1andEJB_2. If so,what are theydifferent fromthe end-to-end tests?