Notice
Recent Posts
Recent Comments
Link
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Archives
Today
Total
05-16 04:51
관리 메뉴

nomad-programmer

[Programming/C] 자동화된 테스트 본문

Programming/C

[Programming/C] 자동화된 테스트

scii 2020. 6. 21. 02:27

코드는 언제나 테스트되어야 한다. 테스트를 자동화하면 개발이 훨씬 수월해진다. 
C 프로그래머가 사용할 수 있는 테스트 프레임워크는 매우 많다. 그 중 AceUnit이라고 불리는 프레임워크도 있다.

http://aceunit.sourceforge.net/

 

AceUnit

AceUnit Latest release version: aceunit-0.12.0 What is AceUnit? AceUnit (Advanced C and Embedded Unit): a comfortable C code unit test framework. AceUnit is JUnit 4.x style, easy, modular and flexible. AceUnit can be used in resource constraint environment

aceunit.sourceforge.net

AceUnit은 다른 언어에서 제공되는 xUnit 프레임워크(nUnit이나 jUnit등)와 비슷하다.

 

만약 명령행 도구를 개발하며, 리눅스&유닉스 명령 쉘을 사용한다면 shunit2라는 도구도 좋다.

https://github.com/kward/shunit2

 

kward/shunit2

shUnit2 is a xUnit based unit test framework for Bourne based shell scripts. - kward/shunit2

github.com

Comments