I am working on an existing Java EE project with various maven modules that are developed in Eclipse, merged together and deployed to JBoss using Java 1.6. I have the opportunity to prepare any framework and document on how unit tests should be included in the project.
Can you offer any advice on ...
Anything else? Thanks in advance.
Any tools for generating great results for Project Managers that will look back?
Be careful. An attractive tool for displaying metrics on unit test counts, coverage, code quality metrics, line counts, registration counts, etc. May be dangerous in the hands of some project managers. A project manager (who does not support the realities of software development) may be obsessed with metrics and do not understand that:
they do not give a real picture of the state and progress of the project, but
they can give a completely false picture of the effectiveness of individual team members.
, , () unit test , . , , .
, , - , , .
, /. .
.
, , , . , / .
, , . , . . , N- -, ... .
, : jUnit TestNG. , . jUnit - , , Eclipse, .
, . , , : ( , jUnit). , . ? , ? .
, , , ( ): " , ". . , , unit test, . , , .
- , (Hudson, ), , , . , .. . .
, $work:
, .
++, .
, , , "". , , .
, , - , , , , , .
- 3 (6 , 5 ), 20% - , 80% , , .
Regarding test coverage, I think that when you do unit testing in an existing project, it's too early to start setting coverage expectations. You should start by saying that you can really integrate the test structure and get reports from coverage tools. Once you do this, you can begin monitoring coverage, and then you can consider goals.
Source: https://habr.com/ru/post/1755935/More articles:Raw Channel Error RabbitMQ / AMQP - NOT_FOUND - ruby โโ| fooobar.comImplementing Fieldset on Symfony Forms - phpC ++ function call from C # - unbalanced stack - c ++How to combine CSV files in Java - javaConstantly delayed job queue for Java - javaะะฐะบะพะน regexp php ะธัะฟะพะปัะทัะตััั ะดะปั filter_var ($ url, FILTER_VALIDATE_URL)? - phpCustom WPF TextBlock packaging: left and after "." - trimCustom overlay on Google Map? - iphoneUsing type parameters and mixins in Scala - scalaNSPredicate - not working as expected - iphoneAll Articles