110 likes | 304 Views
Embedded Linux QA: Unit Testing with Open Source. About PHILOSYS Software GmbH. UNIX/GNU/Linux Software ~20 years Service Provider Consulting, Design, Implementation, Maintenance Kernel, Networking, Visualization. QA in Open Source Projects.
E N D
About PHILOSYS Software GmbH UNIX/GNU/Linux Software ~20 years Service Provider Consulting, Design, Implementation, Maintenance Kernel, Networking, Visualization
QA in Open Source Projects Here: Technical aspects independent of ISO-certification Diverse, not always as desired Tools to support process
QA Tools Bug Tracking (RequestTracker, OTRS) Code Checker (lint etc.) Memory Monitor (Valgrind, Electric Fence) Compiler Warnings (-Wall -Wextra !) Black box testing (dejagnu) Unit testing (JUnit, autotools)
Unit Testing Background: eXtreme Programming Goal: Automated, ubiquitous testing Frameworks: Junit, PyUnit, Test::Unit, autounit, ...
autotools Standard GNU framework autoconf, automake, libtool, etc. Used in typical Open Source projects Generated configuration scripts in packages ./configure && make && make install Goal: “make test”
Embedded Aspects Cross toolchains autotools are prepared for cross compilation Problem: Program execution on target TESTS_ENVIRONMENT=ssh username@targethost Prerequisite: Target is powerful enough to execute tests in addition to normal program Transparent evaluation of results
Thanks for Your Kind Attention! More Information: Philosys Software GmbH Edisonstr. 6 D-85716 Unterschleissheim www.philosys.de Phone: +49-89-321407-14 roland.stigge@philosys.de