Solved

How to automate the Testing for the applications developed in .Net Platform?

Posted on 2013-11-16
7
314 Views
Last Modified: 2013-11-24
Hi,

We have a Desktop application that developed in .Net platform. That Desktop application has many market variants. It uses MS. SQL Server and SQLight as a back-end. I want to automate the testing for the Desktop Application. I really do not want to do the Coded UI Testing.
I want to automate the Testing in a way that can improve and develop my coding skills.
Please provide the suggestion and ideas according to this.
0
Comment
Question by:sivakugan
[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
7 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 39654419
It sounds like you need to understand how the other parts of the Unit Testing Framework work.

Walkthrough: Creating and Running Unit Tests for Managed Code
http://msdn.microsoft.com/en-us/library/ms182532.aspx
0
 
LVL 14

Accepted Solution

by:
binaryevo earned 500 total points
ID: 39654765
Coded unit tests will GREATLY enhance your coding skills.  How I'm sure is the first question that comes to mind.  The answers are simple:  you will be exposed to so much more from a coding and architectural perspective.  Let me illustrate:  when writing a test, you often times figure out your code is doing something different than you initially thought.  If you discover that your code is behaving a little differently, what's to say some condition that you didn't think about hits that code and makes it blow up (which makes complete sense since you thought it worked differently anyways)?  So unit tests allow you to intimately know your product at a whole new level.  Test driven development is an excellent way to both round out your skill set and help reduce the amount of bugs.  I'm a huge fan of TDD and think that you learning about it is a great first step in conjunction with thelearnedone's provided link.  Some of the cool things you can learn about with unit tests include: mocking, fakes, testable code, using lots of interfaces and a whole bunch more.  Below find some things that I would use to do my testing:

MSTest or NUnit
Moq or rhinomock
FakeO - if it makes sense (I just use Moq instead usually)

Hope this helps
0
 
LVL 5

Expert Comment

by:allanau20
ID: 39657835
hey guys.

I have tried Coded UI as well as TDD.

What about Behavior-Driven Development?
0
Turn Insights into Action

Communication across every corner of your business is essential to increase the velocity of your application delivery and support pipeline. Automate, standardize, and contextualize your communication processes with xMatters.

 

Author Comment

by:sivakugan
ID: 39667901
looking for more suggestions.
0
 
LVL 14

Expert Comment

by:binaryevo
ID: 39668643
The only automated testing that you are describing have done are part of the load testing that Microsoft includes in 2k12.  There is a web performance recorded test that allows you to record every test scenario you wish and then run it via a load test to determine load and that sort of thing.  I'm sure windows load test have something similar so I would poke around in there and see of that meets your needs.  With that being said I think that all the options that all the experts have listed here are a better solution than doing a recorded test simply because you can and will dissect your code and be very knowledgeable of what it does from all aspects.  

Hope this helps
0
 

Author Comment

by:sivakugan
ID: 39670629
Thanks for the suggestion binaryevo . Its great to know There is a web performance recorded test.  I am looking forward some links about this. Thanks
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

691 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