Home > other >  How to realize the automation of embedded software testing
How to realize the automation of embedded software testing

Time:09-22

I just entered the company, the company is doing the embedded software, computer via Ethernet cable connection will have a Web side system, and hardware products are the same as basic,
For the same products of the company had many subprojects, case reuse rate is higher, so want to use their spare time to write a selenium automation framework, but wrote after a period of time, but by their superiors stopped , the reason is that the leaders think of embedded software is best installed in the hardware testing is better, but the manual test is too waste of resources, daniu have what good solution to realize the automation of embedded software testing,

CodePudding user response:

upupup

CodePudding user response:

Who issued the opinions casually write also ok I will posted to hand out the knot

CodePudding user response:

Are generally through the interface to develop a set of independent test automation tools

CodePudding user response:

I used a test automation tool AutoRunner, can try

CodePudding user response:

I'll points ~

CodePudding user response:

Embedded phased test, environment test, and you test of the vision, now you are ready, if not to test the embedded environment, the probability of error will be a little bit small.

CodePudding user response:

1. The embedded software can undertake simulation test on the PC, is it necessary to do the simulation test depends on the specific software, generally speaking, the upper business logic complex embedded software is necessary to consider to do simulation test; The higher proportion of the underlying code associated with the hardware interface of the embedded software, the more there is no need to do the simulation test,
2. Embedded software eventually need to get the actual hardware test, because from the underlying hardware interface test is irreplaceable in 1,
The original poster wants to run in PC automation that do not need to be connected to the actual hardware simulation test, right? You have to consider whether there is the need to do the simulation test,

CodePudding user response:

Use VISUAL UNIT 4.5 software test automation tool
In youku have video, can see,
https://v.youku.com/v_show/id_XNDIxNTQ1MjUyNA==.html? SPM=a2h0k. 11417342. Soresults dtitle

CodePudding user response:

I feel embedded automation can only rely on automated test equipment do (such as setting up test instrument testing steps and time), the most direct is artificial manual testing, or don't know how you last? (convenient to add exercises to ask)

CodePudding user response:

Automated software testing need to do, according to industry standards, according to project requirements for security level to high needs to mark,
Aerospace DO - 178 b/DO - 278;
EN50128 railway system;
Auto electronic ISO26262;
Industrial control IEC 61508;
IEC 62304 medical devices and other different industries

CodePudding user response:

Or with a project, start from the base

CodePudding user response:

In the aspect of software integration testing, can use unit testing tools framework to build their own integration testing framework, encapsulate the underlying hardware interface for the stub, then write a pure software integration test cases, this can be in automated test system has the function of logic and cover level,
In the aspect of hardware and software integration testing, can be in PC set up automatic test program can use python, c #, such as writing, using with embedded under the machine test interface, such as serial port, so such as sending test command, to obtain test results, generate test report, so, PC software can completely do with automated tests, if required in connection with the instrument for measuring value read words such as power consumption, current, etc., need to reserve on hardware test points, then use instrument based on the SDK integration again again,
  • Related