... let's start at the very beginning.
First, I want to apologise for a posting that it only loosely based on JustMock.
I have never written a unit test in my life and thought, given that I have access to JustMock, that I should give it a go and that's why I need help.
I'll explain.
I'm running VS2K8SP1 under Win7 Ultimate to develop Web Sites and Wep Applications.
I've done a bit of reading and have created a Test Project with a Test Method. My reading has led me to understand that I need to decorate my Test Method like this...
Trying to run this test resulting in a fail with the message ...
The test or test run is configured to run in ASP.NET in IIS, but the current user (Tosh-Laptop\Stuart) is not in the Administrators group. Running tests in ASP.NET in IIS requires the user to be in the Administrators group.
The thing is, I am in the Administrators group. The output from the command net localgroup Administrators confirms this ...
So, I guess I'm missing something. Is anyone here running tests under a similar environment? Is anyone here better versed in what's needed to get me running.
Any help, either here, or - if you feel the response too off-topic for posting here - direct to me at sejhemming@gmail.com would be much appreciated.
--
Stuart
First, I want to apologise for a posting that it only loosely based on JustMock.
I have never written a unit test in my life and thought, given that I have access to JustMock, that I should give it a go and that's why I need help.
I'll explain.
I'm running VS2K8SP1 under Win7 Ultimate to develop Web Sites and Wep Applications.
I've done a bit of reading and have created a Test Project with a Test Method. My reading has led me to understand that I need to decorate my Test Method like this...
Trying to run this test resulting in a fail with the message ...
The test or test run is configured to run in ASP.NET in IIS, but the current user (Tosh-Laptop\Stuart) is not in the Administrators group. Running tests in ASP.NET in IIS requires the user to be in the Administrators group.
The thing is, I am in the Administrators group. The output from the command net localgroup Administrators confirms this ...
C:\Users\Stuart>net localgroup Administrators
Alias name Administrators
Comment Administrators have complete and unrestricted access to the compu
ter/domain
Members
-------------------------------------------------------------------------------
Administrator
Stuart
The command completed successfully.
So, I guess I'm missing something. Is anyone here running tests under a similar environment? Is anyone here better versed in what's needed to get me running.
Any help, either here, or - if you feel the response too off-topic for posting here - direct to me at sejhemming@gmail.com would be much appreciated.
--
Stuart