Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# testing unit
I am wanting to access the default properties within a unit test. I can create the Accessor, but do not know how to tell visual studio that I want to use that accessor. Does not even appear to be in the intelisense list. I want to test an object that accesses these propertes, and ensure that the property is that same.
Posted 16-Mar-12 12:40pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
Clifford Nelson at 17-Mar-12 16:56pm
   
Do you know anything about unit testing and accessing Settings file? The other stuff is pretty generic.

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

  Print Answers RSS
0 Afzaal Ahmad Zeeshan 259
1 Maciej Los 240
2 BillWoodruff 240
3 OriginalGriff 220
4 Sergey Alexandrovich Kryukov 195
0 OriginalGriff 6,419
1 Sergey Alexandrovich Kryukov 6,008
2 DamithSL 5,183
3 Manas Bhardwaj 4,673
4 Maciej Los 4,070


Advertise | Privacy | Mobile
Web03 | 2.8.1411019.1 | Last Updated 17 Mar 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100