.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> .NET Framework >> Post New Question Subscribe to Interview Questions

What are three test cases you should go through in unit testing?

Posted By :Gowthammanju     Posted Date :July 31, 2011    Points :40   Category :.NET Framework 
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).

You can also find related Interview Question to What are three test cases you should go through in unit testing?  below: 

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). (More...)

What is Unit Testing ?

  
Units are the Smallest building blocks of an Application. In Visual Basic .Net these building blocks are often components or class definations.
Unit testing involves performing basic tests at the component level.
It typically requires writting special programs that use the component or class being tested. (More...)

What is unit testing? What are benefits of Unit testing?

  
In computer programming, unit testing is a method by which individual units of source code are tested to determine if they are fit for use. A unit is the smallest testable part of an application. In procedural programming a unit may be an individual function or procedure. Unit tests are created by programmers or occasionally by white box testers.

Benefits

1.1 Facilitates change
1.2 Simplifies integration
1.3 Documentation
1.4 Design

Read more at

http://en.wikipedia.org/wiki/Unit_testing (More...)

What is difference between TDD and Unit Testing?

  
In TDD the unit test is written first and method second. Development is driven by the unit test.

In ordinary unit testing, we write the required method and after that creates a unit test for it. This is to ensure long run integrity only. (More...)


Does the unit testing of an MVC application is possible without running controllers in an ASP.NET process ?

  
In an MVC application, all the features are based on interface. So, it is easy to unit test a MVC application.
And it is to note that, in MVC application there is no need of running the controllers for unit testing.
(More...)

Write and justify output of - select nullif('test','test')

  
The output will be - NULL
Justification : nullif returns NULl if given two arguments are same else returns the first specified argument. So, for the given SQL, output will be NULL. (More...)

What is regression testing

  
Regression testing is re-testing after fixes or modifications of the software or its environment.
The selective retesting of a software system that has been modified, to ensure that any bugs have been fixed and that no other previously working functions have failed as a result of the modification and that newly added features have not created problems with previous versions of the software. (More...)

What are the three level of testing ?

  
1. Uint testing
2. Integration testing
3. Regression Testing (More...)

What is integration testing ?

  
Integration testing verifies that the major subsystems of an application work well with each other.

Integration testing can be performed in any of the following ways :

1. Bottom-up approch
2. Top-down approch
3. Umbrella approch (More...)

What is Regression Testing ?

  
Regression Testing should be performed any time a program is modified.
Goals of Regression Testing :
- Verify that all known bugs are corrected
- Verify that no old bugs have been reintroduced
- Verify that the Program has no new bugs. (More...)

What is the utility name to test WCF services?

  
WcfTestClient.exe

It resides in the folder
drive:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE (More...)

What is Validation and Verification in Testing?

  
Validation ensures the product is right.


Verfication ensures we are building the right product.

:) (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend