Summary


The unit testing discipline has improved with open source tools. These tools (and more complex ones such as the DejaGnu framework) provide efficient and simple mechanisms for unit testing. In this chapter, we explored unit testing (as opposed to system testing) and investigated a number of methods to achieve it. We first reviewed a brew your own method for testing that was simple but got the job done. We then reviewed two open source tools for unit testing, the C unit test system (cut), and then the Embedded Unit Test system. Finally, we took a quick look at expect and its capabilities for process-based testing.




GNU/Linux Application Programming
GNU/Linux Application Programming (Programming Series)
ISBN: 1584505680
EAN: 2147483647
Year: 2006
Pages: 203
Authors: M. Tim Jones

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net