Vorteile der Integration für die Code Coverage Analyse
Im Zusammenhang mit dem dynamischen Test spielt die Code Coverage, insbesondere im Kontext von Sicherheitsnormen, als ein Testendekriterium eine wichtige Rolle.
When it comes to dynamic testing, code coverage plays an important role as criterion if the done testing was sufficient.
Die Instrumentierung wird nur für die Code Coverage oder den White-Box-Zugriff verwendet, der produktive Code wird also nicht verändert.
Instrumentation is used for white-box access and code coverage, so production code is never modified for testing.
Zusätzlich dazu und dank dem Plugin, das wir für die IDE entwickelt haben, kann die Code Coverage nun ohne die Kommandozeile gemessen werden: Alles wird durch einen Klick auf einen Button ausgeführt.
In addition to that, and thanks to the plugin we developed for the IDE, code coverage can now be measured without complicated command line tricks: everything is done on a click of a button!
Daher wird häufig Testwell CTC++ gewählt, um die Code Coverage zu messen und als gemeinsamer Nenner bezogen auf Coverage Reports zu agieren.
So Testwell CTC++ is often chosen to measure code coverage and to act as a common denominator in terms of coverage reports.
[VIDEO] Zum Video-Tutorial über ASCET und die Code Coverage mittels CTC++
[VIDEO] Watch our video tutorial about ASCET and code coverage with CTC++
Die Code Coverage wird automatisch im Hintergrund ermittelt, so dass keine Instrumentierung des Seriencodes während der Simulation notwendig ist.
Code coverage is calculated automatically in the background, so that no instrumentation is needed during the simulation of the production code.
Dadurch ist es möglich, die Code Coverage sowohl von Unit- als auch Integrationstests zu ermitteln.
With this setup it is possible to measure the coverage of both unit tests and integration tests.
Es ist geplant gemeinsam mit den Studenten Unit Tests zu machen und die Code Coverage für alle Projekte zu bestimmen.
It is planned to encourage students to put in place unit tests with measurements of the code coverage rate for all projects.
Lösungsansätze: Die offensichtliche Lösung des obigen Problems ist eine Technologie die es nicht mehr erfordert den Source Code zu verändern, die aber trotzdem die Code Coverage messen kann.
The obvious solution to the above problem is a technology that no longer requires the source code to be modified, but which can still measure code coverage.
Um festzustellen, welche Teile des Programms tatsächlich durch Unit-Tests oder Integrationstests abgedeckt wird, können Sie die Code Coverage Funktion von TESSY verwenden.
To determine what proportion of your project's code is actually being tested by unit tests or integration tests, you can use the code coverage feature of TESSY.
Obwohl Code Coverage nach IEC 62304 (Version 1.1) nicht verpflichtend ist, empfiehlt die Norm dennoch, die Code Coverage zu erhöhen.
Although code coverage is not mandatory according to IEC 62304 (Version 1.1), the standard recommends in the non-normative section, that you increase the code coverage.
Für die Code Coverage wird Testwell CTC++ genutzt. Das Tool wird im Telekommunikationssektor sowie in den Automotive-, Medizintechnik- und Luftfahrtsektoren eingesetzt um höchste Softwarequalität zu gewährleisten.
The presentation is done with Testwell CTC++, a test coverage tool which is widely used in the telecommunication, automotive, healthcare and aeronautics sectors.