Click here to Skip to main content
15,878,230 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:

I don't know anything regarding unit testing. What i want to do is that i have a windows application. I want to set up a UNIT testing project for it. I added unit test project to the current solution, and i got this.

using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace UnitTestProject1
    public class UnitTest1
        public void TestMethod1()


But what shall i do from here? Pls help me out !

Share this answer
Arjun Menon U.K 1-Apr-14 10:31am    
I was able to add reference. What do i want to know is , what am i supposed to write here.? I know its adumb question but i don't have a clue
Arjun Menon U.K 1-Apr-14 10:36am    
say i want to check for a file upload, how can i achieve it? where shall i write the code?
I added a unit test project, referred the project
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900