Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

C# Test

Posted on 2014-11-09
1
Medium Priority
?
257 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 2000 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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

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…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

688 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