Solved

C# Test

Posted on 2014-11-09
1
241 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
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!
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

752 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