티스토리 뷰

공부

[IntelliJ] test coverage 80%

승가비 2022. 1. 16. 20:50
728x90

https://stackoverflow.com/questions/90002/what-is-a-reasonable-code-coverage-for-unit-tests-and-why

 

What is a reasonable code coverage % for unit tests (and why)?

If you were to mandate a minimum percentage code-coverage for unit tests, perhaps even as a requirement for committing to a repository, what would it be? Please explain how you arrived at your ans...

stackoverflow.com

https://jamie95.tistory.com/119

 

[IntelliJ] 테스트 커버리지 확인하기

Project > test > java에서 우클릭 > Run 'Tests in '......' with Coverage 선택  그러면 이렇게 테스트 커버리지를 확인할 수 있다.  왼쪽 Project탭에는 패키지/클래스별 커버리지 퍼센테이지가 나타난다...

jamie95.tistory.com

https://www.bullseye.com/minimum.html

 

Minimum Acceptable Code Coverage

By Steve Cornett. Copyright © Bullseye Testing Technology 2006-2013. All rights reserved. Redistribution in whole or in part is prohibited without permission. Code coverage of 70-80% is a reasonable goal for system test of most projects with most coverage

www.bullseye.com

 

728x90

'공부' 카테고리의 다른 글

[Spark] write mode overwrite  (0) 2022.01.16
[Java] delete topic  (0) 2022.01.16
[IntelliJ] test coverage 80%  (0) 2022.01.16
[Kafka] configuration partition rebalancing  (0) 2022.01.16
[Java] MySQL get column name  (0) 2022.01.16
[Spring] Profile  (0) 2022.01.14
댓글
댓글쓰기 폼