Research unit testing #119
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked, waiting for further changes
bug
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
help wanted
invalid
low priority
needs input
needs review
project documentation
question
research
reviewed
script
security
SQL
style
testing
topLevel
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K#119
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Strategies to write a unit test.
related to issue Research Testing #81
Suggested coverage of unit testing.
Unit testing should cover logic checks, boundary checks, error handling and object checks.
Logic checks are to verify that the system performs correct calculations as well as checking all possible paths through the code.
Boundary checks are to test edge cases and invalid inputs. For example if an integer between 1 and 10 is expected you check number 10 (edge case) as well as 11 which is a invalid input.
Error handling is to ensure that the system handles errors correctly, is the user prompt to insert new input or does it crash?
Object checks is to ensure that the state of it is correctly updated after the code is executed.
I have reviewed the issue and its considered as resolved.