Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Thanassis Tsiodras
condition-decision-mcdc
Commits
1fce4e95
Commit
1fce4e95
authored
Oct 05, 2017
by
Thanassis Tsiodras
Browse files
Improve phrasing after Andreas' feedback.
parent
bd1a1f21
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
1fce4e95
...
@@ -52,7 +52,7 @@ Now, if we want to get 100% condition coverage, every condition in a decision
...
@@ -52,7 +52,7 @@ Now, if we want to get 100% condition coverage, every condition in a decision
in the program must take all possible outcomes at least once. In the code we
in the program must take all possible outcomes at least once. In the code we
have 4 conditions
`a > 1`
,
`b == 0`
,
`a == 2`
,
`x > 1`
. We need test cases that make
have 4 conditions
`a > 1`
,
`b == 0`
,
`a == 2`
,
`x > 1`
. We need test cases that make
all 4 of the conditions true and false. The previous test cases don’t suffice
all 4 of the conditions true and false. The previous test cases don’t suffice
because the condition
`b == 0`
is never evaluated to false. That could mean a
because
e.g.
the condition
`b == 0`
is never evaluated to false. That could mean a
untested critical scenario that could have a bug. To satisfy condition coverage
untested critical scenario that could have a bug. To satisfy condition coverage
we could have the following test cases:
we could have the following test cases:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment