-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
process: verification guide for types and methods #721
base: main
Are you sure you want to change the base?
Conversation
License Check Results🚀 The license check preparation job ran successfully. Status: Click to expand output
|
The created documentation from the pull request is available at: docu-html |
ad727c3
to
465c4a8
Compare
Additionally, addressing Typos. see #497 Signed-off-by: Philipp Ahmann <[email protected]>
465c4a8
to
655f13a
Compare
see #497 Signed-off-by: Philipp Ahmann <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see inline comments
* - Structural Branch Coverage (Code coverage) | ||
- structural-branch-coverage | ||
* - Structural Condition Coverage (Code coverage) | ||
- structural-condition-coverage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should explain in text why we are deviating from Iso 26262 (our tooling is more reliable for this) and why it is ok (this is even more fine grained as branch coverage and we consider it in argumentation if not 100% are reached)
section :ref:`verification_concept_types_methods`. This guide helps to get an understanding what | ||
the different methods and derivation techniques mean and how to create test cases using the same. | ||
|
||
Methods |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please consider to put this in seperate document as we have defined the "gd_meth__" need for methods. And link here.
least once during the testing process. | ||
|
||
Condition coverage is also creating branch coverage, so a 100% `structural-condition-coverage` will not | ||
guarantee a 100% branch coverage. The actual branch coverage percentage depends on the actual code |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to check this statement
under test. | ||
|
||
Fro C++ based unit testing gTest is the "software tool" which supports conditional coverage, but | ||
has no direct option to create branch coverage. This has be considered, while writing unit tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
avtually it is gcov which provides the structural coverage, it supports both but it is more reliable for condition coverage
**4. Design Test Cases** | ||
|
||
Create test cases using the representative values from each equivalence class. | ||
Aim to cover all classes in your test suite. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing "fuzz-testing" mentioned in SW verification plan
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please align with new definition what is used in S-CORE and remove all TestTypes which are not tests: e.g. inspection, walkthrough, static code analysis, ...
As part of the interim audit, it was mentioned to better explain the testing methods and derivation techniques.
see #497