Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What are three test cases you should go through in unit testing?
Home
C Sharp
What are three test cases you should go through in unit testing?
0
votes
asked
Mar 5, 2020
in
C Sharp
by
JackTerrance
What are three test cases you should go through in unit testing?
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Mar 5, 2020
by
JackTerrance
Positive test cases (correct data, correct output), negative test cases (broken or missing data, proper handling), exception test cases (exceptions are thrown and caught properly).
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: Explain the types of unit test cases?
asked
Oct 18, 2019
in
C Sharp
by
Robin
test-cases
0
votes
Q: State True or False: Security Testing Test Cases play crucial & essential part of Security Testing.
asked
Mar 18, 2021
in
Threat Modeling
by
sharadyadav1986
security-testing
threat-modeling
testcases
0
votes
Q: The test file name should end with _test.go
asked
Jul 14, 2022
in
Go Semantics Supplemental
by
john ganales
semantics
+1
vote
Q: One of the stages you would expect to see a team go through is:
asked
Apr 24, 2021
in
Agile
by
Robindeniel
agile
testing
0
votes
Q: What are the different artifacts you refer to when you write the test cases?
asked
Nov 13, 2020
in
Testing
by
sharadyadav1986
#test-case-artifacts
Testing-questions-answers
0
votes
Q: A Form has four mandatory fields to be entered before you Submit. How many numbers of test cases are required to verify this? And what are they?
asked
May 26, 2019
in
Testing
by
rajeshsharma
#testing
#manual-testing
#testing-question
#testing-answer
#testing-question-answer
#manual-test
Testing-questions-answers
+1
vote
Q: Are you familiar with using BlazeMeter for mobile application testing? How would that process go?
asked
Jan 11
in
BlazeMeter
by
SakshiSharma
mobile-application-testing
0
votes
Q: How do you mock a service to inject in a unit test?
asked
Aug 19, 2021
in
AngularJS Packaging and Testing
by
SakshiSharma
mock-service
angular-sevice
0
votes
Q: When will you start writing the unit testwriting the unit test?
asked
Aug 18, 2021
in
AngularJS Packaging and Testing
by
SakshiSharma
unit-testing
test-writing
0
votes
Q: The joining of two or three separate characters to form a single unit to avoid interference is called _______.
asked
Nov 20, 2021
in
TypoGraphy
by
rajeshsharma
joining-character
...