Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8576963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:03:14+00:00 2026-06-11T20:03:14+00:00

I am wishing to teach myself how to effectively test using VS2010 and C#

  • 0

I am wishing to teach myself how to effectively test using VS2010 and C# for an upcoming interview. Any resources on learning this would be greatly appreciated (especially a quick and dirty “here is how you create a test project/run it/make assertions” document – I just need to get my hands dirty!). 🙂

What I am trying to learn with is a small project which I have written. I have a few comboboxes with criteria/keywords which queries certain columns in a table to see if the right values are returned. So, for instance, I have a column "Colour" and a corresponding combo box in my WPF application for "Colour". When "Red" is selected, I want to return all the cols with the "Red" value in its row etc. etc.

I’ve randomised my db data and want to create some assertions now (eg for “Red” combobox value, “Red” rows only are returned).

What is the most effective and best way I can test an application of this nature?

Theoretically, I know it’s about creating some test data, feeding "Red" into the search function and asserting that only "Red" columns are returned. However, practically, how do I do this with VS2010 and C#? Resources for this are, surprisingly, hard to come by.

Do I open the project, add a new test project, create a standalone project, where do I go from there…? A simple beginners intro to adding a test project and some guidelines for the best ways to make assertions would really help me out.

Thanks very much.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T20:03:15+00:00Added an answer on June 11, 2026 at 8:03 pm

    Please have a look a the MVVM-Pattern, that allows you to create modular and testable WPF-applications. In the referenced Wikipedia article you will find lots of resources for further reading.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can you recommend any resources for learning about Windows Installer? The best book I've
I find myself wishing an interface could be composed of methods that are fulfilled
I am a Javascript Junkie and wishing to test around some codes. new RegExp(user=
In doing a bit more programming with Firebase today, I found myself wishing for
String.IsNullOrEmpty() appears to be an extremely well used method and I find myself wishing
Ok, this may be really noobish question, but i am wishing there is something
Wishing to avoid a situation like this: >>> class Point: x = 0 y
In large apps I find myself really wishing I had built-in AOP facilities. As
I'm using Selenium, and I'm wishing to capture all cookie packets sent during a
I am wishing to compare two sets of data using SQL wherever possible. Please

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.