Solved

C# Test

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

"Disruption" is the most feared word for C-level executives these days. They agonize over their industry being disturbed by another player - most likely by startups.
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 …

825 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