Cant get storyteller to find ISystem

8 views
Skip to first unread message

rauh.ryan

unread,
Oct 25, 2010, 10:09:25 AM10/25/10
to StoryTeller Users
I can not figure out how to get storyteller to pick up a custom
ISystem implementation.

======
Project File
======
<?xml version="1.0"?>
<Project xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Options>
<FileTemplate>using NUnit.Framework;
using StoryTeller.Execution;

namespace StoryTellerTestHarness
{
[TestFixture, Explicit]
public class Template
{
private ProjectTestRunner runner;

[TestFixtureSetUp]
public void SetupRunner()
{
runner = new ProjectTestRunner(@"$PROJECT_FILE$");
}

$METHODS$

[TestFixtureTearDown]
public void TeardownRunner()
{
runner.Dispose();
}
}
}</FileTemplate>
<MethodTemplate> [Test]
public void $CLEAN_TEST_NAME$()
{
runner.RunAndAssertTest("$TEST_PATH$");
}</MethodTemplate>
<TargetFile>StoryTellerDebug.cs</TargetFile>
</Options>
<Workspaces>
<WorkspaceFilter Name="Calculator">
<Actions />
<Filters>
<FixtureFilter Type="All" Name="ALL" />
</Filters>
</WorkspaceFilter>
<WorkspaceFilter Name="County">
<Actions />
<Filters>
<FixtureFilter Type="All" Name="ALL" />
</Filters>
</WorkspaceFilter>
</Workspaces>
<FixtureAssembly>FieldBook.StoryTeller</FixtureAssembly>
<BinaryFolder>src\FieldBook.StoryTeller\bin\Debug</BinaryFolder>
<TestFolder>storyteller</TestFolder>
<FileName>..\..\Fieldbook-storyteller.xml</FileName>
<TimeoutInSeconds>30</TimeoutInSeconds>
<SystemTypeName>FieldBook.StoryTeller.FieldBookSystem,
FieldBook.StoryTeller, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null</SystemTypeName>
<Name>FieldBook</Name>
</Project>

=====
Exception
=====

System.ArgumentNullException: Value cannot be null.
Parameter name: type

Server stack trace:
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at StoryTeller.Execution.FixtureAssembly.find() in d:\Builds
\StoryTeller\source\StoryTeller\Execution\FixtureAssembly.cs:line 53
at
StoryTeller.Execution.TestRunnerProxy.StartSystem(FixtureAssembly
fixtureAssembly, MarshalByRefObject remotePublisher) in d:\Builds
\StoryTeller\source\StoryTeller\Execution\TestRunnerProxy.cs:line 75
at
System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr
md, Object[] args, Object server, Int32 methodPtr, Boolean
fExecuteInContext, Object[]& outArgs)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage
msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [0]:
at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at
StoryTeller.Execution.TestRunnerProxy.StartSystem(FixtureAssembly
fixtureAssembly, MarshalByRefObject remotePublisher)
at StoryTeller.Execution.TestRunnerDomain.LoadProject(IProject
project) in d:\Builds\StoryTeller\source\StoryTeller\Execution
\TestRunnerDomain.cs:line 35

Jeremy D. Miller

unread,
Oct 25, 2010, 10:10:57 AM10/25/10
to storyteller-...@googlegroups.com
Dollars to donuts you've got the assembly qualified name wrong or the assembly with your ISystem isn't available to the StoryTeller AppDomain.

It's blowing up because ST isn't finding the Type specified.  It's just normal .Net mechanics from here.
 
Jeremy D. Miller
The Shade Tree Developer
jeremy...@yahoo.com



From: rauh.ryan <rauh...@gmail.com>
To: StoryTeller Users <storyteller-...@googlegroups.com>
Sent: Mon, October 25, 2010 9:09:25 AM
Subject: Cant get storyteller to find ISystem

I can not figure out how to get storyteller to pick up a custom
ISystem implementation.

======
Project File
======
<?xml version="1.0"?>

rauh.ryan

unread,
Oct 25, 2010, 1:56:23 PM10/25/10
to StoryTeller Users
Got it figured out.

Thanks,
-Ryan


On Oct 25, 9:10 am, "Jeremy D. Miller" <jeremydmil...@yahoo.com>
wrote:
> Dollars to donuts you've got the assembly qualified name wrong or the assembly
> with your ISystem isn't available to the StoryTeller AppDomain.
>
> It's blowing up because ST isn't finding the Type specified.  It's just normal
> .Net mechanics from here.
>  Jeremy D. Miller
> The Shade Tree Developer
> jeremydmil...@yahoo.com
>
> ________________________________
> From: rauh.ryan <rauh.r...@gmail.com>
Reply all
Reply to author
Forward
0 new messages