Start Free Trial
Come for the solution, stay for everything else.
Start Free Trial
i have got a new functionality in my code. How to test?
i have got a new functionality in my code written in C# which is a huge project. How to test?
Is there any formal ways/techniques/templates for such testing.
8/22/2022 - Mon
U can do either manually or using nUnit testing depending on the functionality you have
Manually would be easy, if that's a huge project:
Just add breakpoint where the new functionality starts and Breakpoint at the very last line of this new functionality. step into code by pressing f11 to see step by step execution and values your variables maybe fetching.
there after you can see if the results match the web-display results.
Hope that makes sense!
Is it supported by C#, VS 2010? How? An exampel?
it's a standalone.
ASKER CERTIFIED SOLUTION
Log in or sign up to see answer
Become an EE member today
7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
"U can do either manually or using nUnit testing depending on the functionality you have..."
These are two different types of questions. NUnit is used for unit tests, i.e. testing of individual methods/properties.
By the way, nUnit tests can be written in C# VS does not support them, I believe, they use different framework. However you may write and run unit tests in a NUnit UI application. And you may attach test code to a debugger in VS (just attach a nUnit UI process to VS)
Hand testing will test functionality of your application. This is most used testing. How to test - different story. You need to follow some use cases. You just follow some sequence to enter, for example, user's data to a form etc. Also you need to test "faulty" scenarios, for example if a user enters 1111 year as his birthday, or non valid card number etc, or enters alphabet characters into a number field. In this case you test that the application does not crash but respond gracefully with appropriate messages etc.
There are tools for automated UI testing but even you caqn find (or buy ) some you need to write tests for these tools.
Types of testing:
Example of automated testing
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
followed the links:
I downloaded nunit
I followed the explanation in the links, creating the template, then creating test case but failed to run the test as follows in Nunit downloaded above. Simply, it says unknown framework, even I change it to v4.
ah, could you help me?
Plans and Pricing
Certified Expert Program
© 1996-2023 Experts Exchange, LLC. All rights reserved. Covered by US Patent