Embedded Software Regression Testing



Hi:

I need some advice about how to perform unit testing and regression
testing on embedded software.

- Do you perform unit testing on host (PC) using a different compiler
or on target with the actual compiler??? Do you think an "on host" test
is useful at all??

- In the case of "on target" tests, how do you interact with the
system??? Do you modify the code to only perform the function under
test??? Do you pre-load the test cases before compiling or use a tool
(emulator, debugger) to modify the variables and parameters on the
run??

- How do you define the "unit" to test?? Do you test functions
independently or test them by groups of functions of a given feature???

- How to set the test cases?? Do you modify the variables and
parameters thru the whole range according to its type???

- How do you set the PASS/FAIL criteria if there are no documents with
the specific function characteristics, but the whole feature???

- What about automating the tests???? Do you use a code-analysis
software the collect data about each function (global and local
variables, parameters, called functions, etc.) or do it manually??

- What about regression tests??? Does anybody have experience with
those??

Thank you.

EL

.



Relevant Pages

  • Re: Embedded Software Regression Testing
    ... I need some advice about how to perform unit testing and regression ... testing on embedded software. ... Do you perform unit testing on host using a different compiler ...
    (comp.arch.embedded)
  • Re: Embedded Software Regression Testing
    ... I need some advice about how to perform unit testing and regression ... Do you perform unit testing on host using a different compiler ... Do you modify the code to only perform the function under ...
    (comp.arch.embedded)
  • Re: Embedded Software Regression Testing
    ... testing on embedded software. ... usually the Unit testing is done on the PC using the target compiler. ...
    (comp.arch.embedded)