A
A
andrey_pavlovich2017-06-08 11:43:47
Software testing
andrey_pavlovich, 2017-06-08 11:43:47

How to test embedded systems?

Hi guys,
I got into a company that develops a device, it has a lot of different settings.
The problem is that individually all the settings work, but when some unpredictable settings start, errors appear, tell me how to identify all this? Was it all supposed to be at the design level? How to organize testing of such a monster, manually sort through all possible options or programmatically disable everything in the code?? Or make a list of required tests before each release? And then after each firmware release, bugs appear where they were not there before.
With all respect, Andrew

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
rustler2000, 2017-06-08
@rustler2000

  • Write a (minimal) simulator to compile for the host
  • (Optional) screw on a static analyzer
  • Use assert wherever possible
  • Write tests and run them on the host under valgrind
  • If it’s difficult to simulate something, make a stand for a piece of hardware and write tests for the stand (matrix testing is supported by many things, and even if it’s not difficult to generate something)
  • Raise CI and automatically run tests on the buildhost and stand
  • Raise sonarqube and fix _all_ remarks
  • (Optional) Find a controlled heat chamber and run tests in it

N
Nikolay, 2017-07-28
@meilmut

With a large number of input parameters, you can try using the Pairwise technique for test design. Allows you to significantly reduce the number of cases and subsequently automate them.
Creating cases manually with this technique is long and relatively difficult. There are specialized tools for this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question