Solved

C# Test

Posted on 2014-11-09
1
238 Views
Last Modified: 2014-11-10
My first Question is
01. test harness is mean UNIT TEST?
02. Using the test harness, demonstrate in debug mode (Explaination need)

Thanks
0
Comment
Question by:ukerandi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 37

Accepted Solution

by:
TommySzalapski earned 500 total points
ID: 40432832
Test harness and unit test are not the same thing, but they are related. Test harnesses often run unit tests.

A unit test is a small test that tests one piece of functionality of one small part of the system.
A test harness is code that enables you to test faster. They can be automated systems that run a lot of tests and collect and summarize the results, etc.

The second question is hard to understand because it seems to be missing a piece. Demonstrate what? "Debug mode" is typically some way of running the code where you can stop the code and run one line at a time. You can also inspect different variables to see what their values are in the middle of the program. If you are using C#, then you are probably using Visual Studio which has a very nice debug mode. Running your test harness in debug mode would allow you do see a lot of things so you should be able to demonstrate whatever you need to.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Change to file doesn't show up 16 76
Asp.Net Session Question 2 34
SSIS GUID Variable 2 33
Inserting LocalDB Table to SQL Server C# 3 15
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question