---
title: "What are three test cases you should go through in unit testing?"  
description: "What are three test cases you should go through in unit testing?"  
author: "Anonymous User"  
published: 2011-04-23  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/769/what-are-three-test-cases-you-should-go-through-in-unit-testing  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# What are three test cases you should go through in unit testing?

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).

## Answers

### Answer by Anonymous User

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).


---

Original Source: https://www.mindstick.com/interview/769/what-are-three-test-cases-you-should-go-through-in-unit-testing

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
