Automated testing tool development challenges (for embedded software)
        Posted  
        
            by 
                Karthi prime
            
        on Programmers
        
        See other posts from Programmers
        
            or by Karthi prime
        
        
        
        Published on 2013-10-17T12:16:39Z
        Indexed on 
            2013/10/17
            16:23 UTC
        
        
        Read the original article
        Hit count: 340
        
My boss want to come up with the proposal for the following tool:
- An IDE: Able to build, compile, debug, via JTAG programming for the micro-controller.
 - A Test Suite, reads the code in the IDE, auto generates the test cases, and it gives the in-target unit testing results(which is done by controlling code execution in the micro-controller via IDE).
 - A no-overhead code coverage tool which interacts with the test suite and IDE.
 
My work is to obtain the high level architecture of this tool, so as to proceed further.
My current knowledge:
- There are tool-chains available from the chip manufacturer for the micro-controllers which can be utilized along with an open-source IDE like Eclipse, and along with an open-source burner, a complete IDE for a micro-controller can be done.
 - Test cases can be auto-generated by reading the source file through the process of parsing, scripting, based on keywords.
 - Test suite must be able to command the IDE to control, through breakpoints, and read the register contents from the microcontroller - This enables the in-target unit testing.
 - An no-overhead code coverage should be done by no-overhead code instrumentation so as to execute those in the resource constraint environment of the micro-controller.
 
I have the following questions:
Any advice on the validity of my understanding?
What are the challenges I will have during the development?
What are the helpful open-source tools regarding this?
What is the development time for this software?
Thanks
© Programmers or respective owner