Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Michael Karas
05/23/12 22:39
Read: 616 times
Beaverton Or

#187481 - Target - Yes or No
Responding to: ???'s previous message
Off target test benchs and cross compiled code, to check more complex algorithms, can be useful for cases where the program unit(s) under test do not have a direct relationship to the embedded environment or the target microcontroller characteristics. I have often even done this for the "design phase prototyping stage" of a project using differing languages such as Visual Basic on the PC and Embedded C or Assembler on the target MCU!!

Whenever the testing function falls into the category of being dependent on the embedded MCU environment and its companion peripherals / hardware then I think it is a waste of time trying to do testing off target. Just doctoring up the dependencies to get code to run on an alien platform can introduce its own set of errors and the work to do it can often take as long or longer than it took to develop the original code in the first place.

It may also depend to some degree upon the work environment. If you are an independent developer / consultant or working at a small lean and mean company your choices could be much different than those you would make working at a fat rich big company. For example the culture at the big company may place a high value on the idea of embedded software validation using some type of standalone behavioral model that is wrapped around the code that is under test.

Michael Karas

List of 7 messages in thread
Unit Testing (on or off target)      David Good      05/23/12 10:29      
   Target - Yes or No      Michael Karas      05/23/12 22:39      
   Target - Yes or No      Michael Karas      05/23/12 22:39      
      I do lot of testing in test bench on PC      Per Westermark      05/24/12 02:56      
         Specifics of test setup      David Good      05/24/12 09:42      
            Is a progressive work      Per Westermark      05/24/12 12:05      
   Unit testing experience      Oliver Sedlacek      05/24/12 10:01      

Back to Subject List