Wednesday, July 14, 2010
Tuesday, July 13, 2010
VS 2010 MSTest for Unmanaged Projects
Bottom line: MSTest isn't designed for unmanaged or untrusted code. No big surprise there. It seems it can be used to test unmanaged code indirectly through a manage code project shim.
There are some links I found what gleaning that bit of information. Most of this was not obtained from the MS site. With them there is no discussion of managed versus unmanaged, because in their world no unmanaged code exists :-)
MSDN download page for VS 2010: http://msdn.microsoft.com/en-us/vstudio/bb984878.aspx
This is the MSDN link for a trail download of Test Professional: http://www.microsoft.com/downloads/details.aspx?FamilyID=2d96b979-f9fd-4728-bc6b-2f8b82777829&displaylang=en
Although this has nothing to do with unmanaged code, here is an example of using MSTest and NUnit together: http://alsagile.com/archive/2010/03/09/stop-the-war-between-nunit-and-mstest-make-them.aspx
What's new for testing: http://msdn.microsoft.com/en-us/library/bb385901(VS.100).aspx
A discussion where MSTest is not recommended for unmanaged code and GTest is: http://stackoverflow.com/questions/1392305/mstest-for-huge-legacy-codebase
And example of calling MSTest from the command line for several test projects: http://stackoverflow.com/questions/3236268/mstest-msbuild-many-test-projects
MSTest command-line options: http://msdn.microsoft.com/en-us/library/ms182489.aspx
Testing the application: http://msdn.microsoft.com/en-us/library/ms182409.aspx
TestToolsTask: http://msdn.microsoft.com/en-us/library/aa721750.aspx
Gallio, third party software for testing: http://www.gallio.org/
Testing working in IDE but not from command line: http://coderesource.org/messages-7-286282-c++-mstest_for_huge_legacy_codebase
Friday, July 9, 2010
Resetting Language Environment in VS 2008
This is done from the command line:
> DevEnv /resetuserdata
Your can than reselect the environment you want to use.
Found the some of the information at this link: http://weblogs.asp.net/scottgu/archive/2007/07/26/vs-2008-and-net-3-5-beta-2-released.aspx
Monday, July 5, 2010
UAC - User Account Control
The Android permission security mechanism is not suppose to be as big of a pain in the neck as the Vista UAC. Both let the user decide what risks they are willing to take.
UAC compared with Android premissions: http://blogoscoped.com/archive/2008-12-15-n14.html
How to tweak UAC setting in Vista: http://www.tweak-uac.com/what-is-uac/
This contains a nice description of UAC with a really cool parable or allegory: http://netsecurity.about.com/od/quicktips/qt/UAC.htm
UAC compared with Android premissions: http://blogoscoped.com/archive/2008-12-15-n14.html
How to tweak UAC setting in Vista: http://www.tweak-uac.com/what-is-uac/
This contains a nice description of UAC with a really cool parable or allegory: http://netsecurity.about.com/od/quicktips/qt/UAC.htm
Subscribe to:
Posts (Atom)