Answer the question
In order to leave comments, you need to log in
Testing a Java EE application?
Hello,
please tell me in more detail, I did some digging in Google, but there are a lot of things ...
There is a Java web-project [Spring, JPA, Hibernate, Vaadin].
How to write tests for such a project?
TestNG, JUnit?
Maybe someone will share a link or tell you where the simplest example of testing such a project is considered. (zhel in Russian)
Well, or briefly explain.
Thank you!
Answer the question
In order to leave comments, you need to log in
There are several types of tests. If you are a backend developer, then you will be primarily interested in two types:
We have the same technology stack.
We use normal unit tests + selenium for GUI testing
I would also appreciate an answer from my comment on Alex42rus 's answer .
In my last job, we did unit and integration tests. For unit tests, we used TestNG, for integration tests, we wrote our own framework that emulated everything. The base was created in memory.
We use JUnit at a new job and are going to transfer integration tests to an in-memory base.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question