Menu ▾ ▴

#36 Following tutorial gives exception

open
nobody
None
5
2005-06-20
2005-06-19
Anonymous
No

The current version of NUnitAsp requires NUnit 2.2.
Older versions of NUnitAsp use older versions of NUnit,
but we recommend upgrading to NUnit 2.2 and using
NUnitAsp 1.5.1.

I downloaded and installed NUnitAsp 1.5.1 and NUnit
2.2. I get an exception when trying to start NUnit to run
a test per your tutorial. I am new at ASP and testing so
was following your tutorial exactly.

Discussion

  • James Little

    James Little - 2005-06-20

    Logged In: YES
    user_id=499667

    Thanks for the report. We haven't double-checked the
    tutorial's accuracy for a few versions. I'll try to take a
    look at it for v1.6. In the meantime, try asking for help
    on the nunitasp-users list.

    Cheers,
    Jim Shore

     
  • James Little

    James Little - 2005-06-20
    • summary: NUnit Exception with NUnitAsp ver. 1.5.1 --> Following tutorial gives exception
     
  • Kele

    Kele - 2005-11-11

    Logged In: YES
    user_id=1376908

    I get the same the error is:
    ---------------------------------------------------------------------------------------
    Assembly Not Loaded
    System.IO.FileNotFoundException : File or assembly name
    NUnitAsp, or one of its dependencies, was not found.

    For Further information, use the Exception Details menu item.
    ---------------------------------------------------------------------------------------
    Exception Details:

    Server stack trace:
    at System.Reflection.Assembly.GetExportedTypes()
    at NUnit.Core.TestSuiteBuilder.Build(String
    assemblyName, Int32 assemblyKey)
    at NUnit.Core.RemoteTestRunner.Load(String
    assemblyName)
    at
    System.Runtime.Remoting.Messaging.StackBuilderSink.Priv
    ateProcessMessage(MethodBase mb, Object[] args, Object
    server, Int32 methodPtr, Boolean fExecuteInContext, Object[]
    & outArgs)

    at
    System.Runtime.Remoting.Messaging.StackBuilderSink.Syn
    cProcessMessage(IMessage msg, Int32 methodPtr, Boolean
    fExecuteInContext)

    Exception rethrown at [0]:
    at
    System.Runtime.Remoting.Proxies.RealProxy.HandleReturn
    Message(IMessage reqMsg, IMessage retMsg)
    at
    System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
    (MessageData& msgData, Int32 type)
    at NUnit.Core.TestRunner.Load(String assemblyName)
    at NUnit.Util.TestDomain.Load(String assemblyFileName,
    String testFixture)
    at NUnit.Util.TestDomain.Load(NUnitProject project, String
    testFixture)
    at NUnit.Util.TestLoader.LoadTest(String testName)

    ---------------------------------------------------------------------------------------
    So I just go to File -> Open and Browse to the ProjectTest.dll

    Cheers,
    Kele.

     

Log in to post a comment.