Errors when executing specifications - v0.1.42.128 & Gallio 3.07.150

4 views
Skip to first unread message

geetar

unread,
Jul 12, 2009, 12:07:53 AM7/12/09
to Concordion For .Net
Hi Jeffrey

As mentioned earlier, I've hit errors with v0.1.42.128, Gallio
3.07.150 and the Calculator sample. I believe I have all the paths
right and there are no build issues with the sample (other than me
only having the visual C# express edition to play with!).

I've copied in the full error dump, including the commands used,
hopefully you can point me in the right direction from here!

Cheers Jamie :-)

C:\Tools\Open_Source\ConcordionDotNet\Calculator.Sample\Calculator.Spec
\bin\Debu
g>C:\Progra~1\Gallio\bin\Gallio.Echo.exe /pd:C:\Tools\Open_Source
\ConcordionDotN
et\Gallio-Concordion-Adapter Calculator.Spec.dll

Gallio Echo - Version 3.0.7 build 150
Get the latest version at http://www.gallio.org/

Start time: 2:42 p.m.
Verifying assembly names.
Initializing the runtime and loading plugins.
Initializing the test runner.
Running the tests.
[error] An exception was thrown while exploring an Concordion test
type.
Location: C:\Tools\Open_Source\ConcordionDotNet
\Calculator.Sample\Calcul
ator.Spec\bin\Debug\Calculator.Spec.DLL
Reference: Calculator.Operations.OperationsTest,
Calculator.Spec, Versio
n=1.0.0.0, Culture=neutral, PublicKeyToken=null
Details: System.TypeLoadException: Could not load type
'Concordion.Inter
nal.EmbeddedResourceSource' from assembly 'Concordion,
Version=0.1.99.9999, Cult
ure=neutral, PublicKeyToken=null'.
at
Gallio.ConcordionAdapter.Model.ConcordionTestExplorer.ExplorerState.Create
TypeTest(ConcordionTypeInfoAdapter typeInfo)
at
Gallio.ConcordionAdapter.Model.ConcordionTestExplorer.ExplorerState.TryGet
TypeTest(ITypeInfo type, ITest assemblyTest) in d:\BuildAgent-01\work
\a9abc5d6ee
8c09c0\Gallio.ConcordionAdapter\Model\ConcordionTestExplorer.cs:line
218
[error] An exception was thrown while exploring an Concordion test
type.
Location: C:\Tools\Open_Source\ConcordionDotNet
\Calculator.Sample\Calcul
ator.Spec\Calculator\Operations\Arithmetic\ArithmeticTest.cs
Reference: Calculator.Operations.Arithmetic.ArithmeticTest,
Calculator.S
pec, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Details: System.TypeLoadException: Could not load type
'Concordion.Inter
nal.EmbeddedResourceSource' from assembly 'Concordion,
Version=0.1.99.9999, Cult
ure=neutral, PublicKeyToken=null'.
at
Gallio.ConcordionAdapter.Model.ConcordionTestExplorer.ExplorerState.Create
TypeTest(ConcordionTypeInfoAdapter typeInfo)
at
Gallio.ConcordionAdapter.Model.ConcordionTestExplorer.ExplorerState.TryGet
TypeTest(ITypeInfo type, ITest assemblyTest) in d:\BuildAgent-01\work
\a9abc5d6ee
8c09c0\Gallio.ConcordionAdapter\Model\ConcordionTestExplorer.cs:line
218
[error] An exception was thrown while exploring an Concordion test
type.
Location: C:\Tools\Open_Source\ConcordionDotNet
\Calculator.Sample\Calcul
ator.Spec\Calculator\Operations\Trigonometric\TrigonometricTest.cs
Reference:
Calculator.Operations.Trigonometric.TrigonometricTest, Calcul
ator.Spec, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Details: System.TypeLoadException: Could not load type
'Concordion.Inter
nal.EmbeddedResourceSource' from assembly 'Concordion,
Version=0.1.99.9999, Cult
ure=neutral, PublicKeyToken=null'.
at
Gallio.ConcordionAdapter.Model.ConcordionTestExplorer.ExplorerState.Create
TypeTest(ConcordionTypeInfoAdapter typeInfo)
at
Gallio.ConcordionAdapter.Model.ConcordionTestExplorer.ExplorerState.TryGet
TypeTest(ITypeInfo type, ITest assemblyTest) in d:\BuildAgent-01\work
\a9abc5d6ee
8c09c0\Gallio.ConcordionAdapter\Model\ConcordionTestExplorer.cs:line
218
[error] An exception was thrown while exploring an Concordion test
type.
Location: C:\Tools\Open_Source\ConcordionDotNet
\Calculator.Sample\Calcul
ator.Spec\bin\Debug\Calculator.Spec.DLL
Reference: Calculator.CalculatorTest, Calculator.Spec,
Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null
Details: System.TypeLoadException: Could not load type
'Concordion.Inter
nal.EmbeddedResourceSource' from assembly 'Concordion,
Version=0.1.99.9999, Cult
ure=neutral, PublicKeyToken=null'.
at
Gallio.ConcordionAdapter.Model.ConcordionTestExplorer.ExplorerState.Create
TypeTest(ConcordionTypeInfoAdapter typeInfo)
at
Gallio.ConcordionAdapter.Model.ConcordionTestExplorer.ExplorerState.TryGet
TypeTest(ITypeInfo type, ITest assemblyTest) in d:\BuildAgent-01\work
\a9abc5d6ee
8c09c0\Gallio.ConcordionAdapter\Model\ConcordionTestExplorer.cs:line
218
Disposing the test runner.
Stop time: 2:42 p.m. (Total execution time: 2.706 seconds)

x97mdr

unread,
Jul 12, 2009, 8:50:37 AM7/12/09
to Concordion For .Net
Hi Jamie,

Silly question: are you trying to run from the source or the
downloaded package (or both)? The version number on the Concordion
assembly in the exception is 0.1.99.9999 which is what is used in the
source tree. The packaged version should have a version number like
you see in the distributed archive file.

Also, how are you trying to run Gallio ... within Visual Studio? ...
using Gallio.Echo? Gallio.Icarus?

On Jul 12, 12:07 am, geetar <voco...@paradise.net.nz> wrote:
> Hi Jeffrey
>
> As mentioned earlier, I've hit errors with v0.1.42.128, Gallio
> 3.07.150 and the Calculator sample. I believe I have all the paths
> right and there are no build issues with the sample (other than me
> only having the visual C# express edition to play with!).
>
> I've copied in the full error dump, including the commands used,
> hopefully you can point me in the right direction from here!
>
> Cheers Jamie :-)
>
> C:\Tools\Open_Source\ConcordionDotNet\Calculator.Sample\Calculator.Spec
> \bin\Debu
> g>C:\Progra~1\Gallio\bin\Gallio.Echo.exe /pd:C:\Tools\Open_Source
> \ConcordionDotN
> et\Gallio-Concordion-Adapter Calculator.Spec.dll
>
> Gallio Echo - Version 3.0.7 build 150
> Get the latest version athttp://www.gallio.org/

geetar

unread,
Jul 13, 2009, 8:49:12 PM7/13/09
to Concordion For .Net
Hi Jeffrey

Sorry I haven't come back to you sooner, I've had to pick up something
else for the first part of the week.

I think it probably is a case of me trying to run from the source
based on the version number and the fact I can execute the example
concordion specifications (concordion.specification.dll)
successfully.

I'll have a proper look in the next day or so and let you know how I
go.

Cheers Jamie :-)

Jeffrey Cameron

unread,
Jul 13, 2009, 9:29:05 PM7/13/09
to concordio...@googlegroups.com
Jamie,

Try installing Gallio from the .msi file and Concordion from the downloaded archive.  That should work.  Let me know if you have further problems.
Reply all
Reply to author
Forward
0 new messages