--
You received this message because you are subscribed to the Google Groups "gallio-dev" group.
To post to this group, send email to galli...@googlegroups.com.
To unsubscribe from this group, send email to gallio-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gallio-dev?hl=en.
If that cannot work I'll probably look at option #2 to programatically
write out the trx xml. I've been hunting around for more info about
writing ITestRunnerExtensions but I haven't hit upon much yet. Can you
direct me to a good reference source?
Thanks!
- Jay
> > gallio-dev+...@googlegroups.com<gallio-dev%2Bunsubscribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/gallio-dev?hl=en.- Hide quoted text -
>
> - Show quoted text -
> > >http://groups.google.com/group/gallio-dev?hl=en.-Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
To unsubscribe from this group, send email to gallio-dev+...@googlegroups.com.
I experimented yesterday with the msunit.exe /publish commands to
publish a couple of desktop generated trx files to TFS. One file was
a straight up MSTest trx file from a dummy MSTest project I made. The
other was a file generated by running my real MBUnit tests via the VS
context menu "Run Tests" menu item which I am assuming is wired into
the Gallio/VS Integration.
I examined the trx files created from both approaches. I see that the
file produced by MbUnit via MsTest has Gallio specific markup in it
such as "GallioTestResult". When I tried to publish that file to TFS
it spit back some errors related to those unrecognized elements and
produced no visible change in the build report, - statistics were not
updated, no test results were associated with it. The publish
operation appears to have completed though, despite the errors,
because it would not let me re-run the publish command for the same
build number. However, no useful test data was actually persisted.
So, publishing test summary statistics and individual test results
back to TFS being the primary objective, if the markup produced by the
MbUnit via MsTest method is only fully understood by the GUI with the
help of a plugin, but not by TFS, then that approach will not work.
It seems like an XSLT approach would be tricky because the
transformation has to generate and keep track of several GUIDs that
the trx needs injected. I'm not sure how that would be done from a
pure transform operation, though I'm not an expert on such things.
Maybe its possible.
From what I can tell so far, writing an extension that composes the
xml for the trx based on the Visual Studio vstst.vsd schema seems like
the only way to generate xml that TFS will accept. The only special
operation would be to generate and inject the Guids.
Does that sound about accurate? Am I missing anything?
Thanks again for your time Jeff!
- Jay
> > > >http://groups.google.com/group/gallio-dev?hl=en.-Hide quoted text -
To unsubscribe from this group, send email to gallio-dev+...@googlegroups.com.
In your earlier post you said I should be able to run MSTest with an
EXEC task and pass an MbUnit dll to it. I tried this but am getting
"Exception has been thrown by the target of an invocation". I'm doing
something like the following:
mstest /testcontainer:"C:\MyUnitTests.dll"
Any ideas what I'm doing wrong?
Also, I see that from the VSTS 2008 IDE
I can publish a TRX generated from the Gallio/VS integration to TFS
without a problem. Works great. I'm trying to understand if its
possible to
do the same thing from the command line. If I could do that, I'd be
all set without the need for further customization.
Thanks,
Jay
> > > > > >http://groups.google.com/group/gallio-dev?hl=en.-Hidequoted text -
To unsubscribe from this group, send email to gallio-dev+...@googlegroups.com.
Thanks once again.
- Jay
First I ran it on my desktop where I have a side-by-side installation
of VS2008 SP1 and VS2010 RC2.
I ran it against the 2008 version of MSTEST and received an exception
with the message, "MS TEST HAS HIT A BREAKPOINT".
mstest /testcontainer:MyMbUnitTests.dll
I guessed this might be due to a conflict with 2010. I see in the
issue logs that there was an issue last year relating to side-by-side
2008/2005 installations. Maybe this is the same type of issue?
I then tried running it against the 2010 MSTest and received the
following:
Starting execution...
No tests to execute.
I then tried the same on my development VM which only has VS 2008 SP1
installed. In that environment I did not see any exceptions but again
received:
Starting execution...
No tests to execute.
Now, not knowing any better, this is the output I would expect. After
all, why would MSTest be able to recognize and process MBUnit
attributes? However, you stated that this should work, so I'm
assuming there is some magic that goes on between MSTest and Gallio
that makes it work.
Any suggestions?
I owe you a box of donuts.
- Jay
> > > > > > >http://groups.google.com/group/gallio-dev?hl=en.-Hidequotedtext -
>
> > > > > > - Show quoted text -
>
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> > > Groups
> > > > > "gallio-dev" group.
> > > > > To post to this group, send email to galli...@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> > > > > gallio-dev+...@googlegroups.com<gallio-dev%2Bunsubscribe@googlegroups.com>
> > > <gallio-dev%2Bunsubscribe@googlegroups.com>
> > > > > .
> > > > > For more options, visit this group at
>
> ...
>
> read more »- Hide quoted text -
GallioBundle-3.1.494.0-Setup-x86.msi on my local system and
GallioBundle-3.1.494.0-Setup-x64.msi on my VM system
Maybe I should look for a 3.2 build instead?
On Mar 19, 10:41 am, jasonint <jason...@gmail.com> wrote:
GallioBundle-3.2.372.0-Setup-x86.msi
and
GallioBundle-3.2.372.0-Setup-x64.msi
but same exact results as described in earlier post.
Are these bugs?
Thanks,
Jay
I could not run any MbUnit tests from the Test List Editor or with the
Run Tests context menuitem. Every test would just error out without
any specific exception details and without executing the test.
- Jay
--
You received this message because you are subscribed to the Google Groups "gallio-dev" group.
To post to this group, send email to galli...@googlegroups.com.
To unsubscribe from this group, send email to gallio-dev+...@googlegroups.com.
On Mar 20, 4:48 am, Jeff Brown <jeff.br...@gmail.com> wrote:
> Fixed in v3.2 build 375 or newer.
>
> You should be able to use MSTest to run MbUnit tests when Gallio is
> installed.
>
> Jeff.
>
>
>
> On Fri, Mar 19, 2010 at 2:52 PM, Jeff Brown <jeff.br...@gmail.com> wrote:
> > Ok, I've reproduced the problem on VS 2010 RC.
> > I'll get back to you.
>
> > Jeff.
>
> ...
>
> read more »
Tuesday, March 23, 2010 4:44 AM 41215356 GallioBundle-3.2.381.0-
Setup-x64.msi
I updated all my project references to point to the new bin
assemblies, rebuilt and attepted new test run.
All tests errored out as before without actually running. I unzipped
and ran the MbUnit.Samples.vs2008 project and got the same results.
I will post this as an issue to the issues board.
- Jay
Also, I tried running my test dll against the MSTest command line and
it worked! Hazah!
Unfortunately it also has the same bug as through the IDE and is not
actually executing the tests.
It is attempting to though and producing the trx file which is very
encouraging. If y'all can just sort out that
execution bug, I think we'll be back in business.
Thanks.
--
Thanks!
(Time to write more integration tests.)
Jeff.
Please post back to this thread when you find a resolution.
I'll be pacing the floor chain smoking and chugging coffee like an
anxious father in the maternity ward until I hear from you!
(No pressure)
Thanks
- Jay
> > For more options, visit this group athttp://groups.google.com/group/gallio-dev?hl=en.- Hide quoted text -
Jeff.
I opened VSTS 2008 and loaded my unit test projecvt, then clicked on
the Test-->Windows-->Test List Editor
which caused VSTS to crash with the following error:
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: devenv.exe
Problem Signature 02: 9.0.30729.1
Problem Signature 03: 488f2b50
Problem Signature 04: Gallio
Problem Signature 05: 3.2.0.0
Problem Signature 06: 4baeb944
Problem Signature 07: 3e21
Problem Signature 08: 0
Problem Signature 09: System.NullReferenceException
OS Version: 6.0.6002.2.2.0.272.7
Locale ID: 1033
Additional information about the problem:
LCID: 1033
I've restarted VS 3 or 4 times, but keeps crashing with same error.
- Jay
Jeff.
How to configure symbols and source code debugging:
http://www.gallio.org/wiki/doku.php?id=gallio:debugging_with_symbols_and_source_code
That said, I can see that tests still aren't running correctly with VS
2008. It seems that AssemblyResolve events aren't getting fired
correctly in the vstesthost. No clue why yet.
Jeff.
--
You received this message because you are subscribed to the Google Groups
"gallio-dev" group.
To post to this group, send email to galli...@googlegroups.com.
To unsubscribe from this group, send email to
gallio-dev+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/gallio-dev?hl=en.
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.814 / Virus Database: 271.1.1/2835 - Release Date: 04/25/10
14:31:00
--
You received this message because you are subscribed to the Google Groups "gallio-dev" group.
To post to this group, send email to galli...@googlegroups.com.
To unsubscribe from this group, send email to gallio-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gallio-dev?hl=en.
The error comes on this line:
instance = (IComparisonSemantics)Runtime.RuntimeAccessor.ServiceLocator.ResolveByComponentId("Gallio.ComparisonSemantics");
because this never gets called:
public static void SetRuntime(IRuntime runtime)
{
EventHandler instanceChangedHandlers = InstanceChanged;
instance = runtime;
EventHandlerPolicy.SafeInvoke(instanceChangedHandlers, null, EventArgs.Empty);
}
This is when running a test via MSpec using either the R# or TD.Net runners. I tried setting the runtime to the defaul gallio runtime (gallio.Runtime.DefaultRuntime), but then got a host of other errors.
So, pardon my ignorance, but is this something in MSpec or Gallio? Or Both?
Thanks!
Phil
|
Awesome! What rev will the patch be in?
Phil
Philip Japikse, MVP, MCSD, MCDBA, CSM, CSP
Principal Consultant, Pinnacle Solutions Group, Inc.
https://mvp.support.microsoft.com/profile/Japikse
www.skimedic.com/blog
-----Original Message-----
From: galli...@googlegroups.com [mailto:galli...@googlegroups.com] On
Behalf Of Yann Trevin
Sent: Thursday, April 29, 2010 2:45 PM
To: gallio-dev
Version: 9.0.814 / Virus Database: 271.1.1/2842 - Release Date: 04/29/10
02:27:00
--
You received this message because you are subscribed to the Google Groups "gallio-dev" group.
To post to this group, send email to galli...@googlegroups.com.
To unsubscribe from this group, send email to gallio-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gallio-dev?hl=en.
Did the build fail? I don't see it...holding my breath...trying...to...be....patient....
;-)
Phil
|
Philip
Japikse, MVP, MCSD, MCDBA, CSM, CSP Phil.j...@pinnsg.com | www.twitter.com/skimedic | (513) 312-5664 |
Did the build fail? I don't see it...holding my breath...trying...to...be....patient....
;-)
Phil
Philip Japikse, MVP, MCSD, MCDBA, CSM, CSP
Principal Consultant, Pinnacle Solutions Group, Inc.
From: galli...@googlegroups.com [mailto:galli...@googlegroups.com] On Behalf Of Yann Trevin
Sent: Thursday, April 29, 2010 2:57 PM
With my luck lately it is probably corrupt again or something. *sigh*
Makes me wonder if I should have kept the virtual private server.
Jeff
On Apr 30, 2010 1:41 PM, "Yann Trevin" <yann....@gmail.com> wrote:
> Well. I don't know. It seems that it is due to a failing test (
> http://ccnet.gallio.org/server/local/project/MbUnit%20v3.2/build/log20100430043306.xml/GallioTestReportCondensed.aspx
> )
>
> Jeff, it's like "cmd.exe" cannot be found in the system path of the VM! It's
> very odd. Do I miss something as obvious as an elephant in a corridor? Or is
> it due to some corruption in the VM?
>
> Yann.
>
>
> 2010/4/30 Philip Japikse <phil.j...@pinnsg.com>
>
>> Did the build fail? I don't see it...holding my
>> breath...trying...to...be....patient....
>>
>>
>>
>> ;-)
>>
>>
>>
>> *Phil***
>>
>>
>>
>> [image: cid:image0...@01CA1042.AC744F30]
>>
>> Philip Japikse, MVP, MCSD, MCDBA, CSM, CSP
>>
>> Principal Consultant, Pinnacle Solutions Group, Inc.
>>
>> Phil.j...@pinnsg.com | www.twitter.com/skimedic | (513) 312-5664
>>
>> https://mvp.support.microsoft.com/profile/Japikse
>>
>> www.skimedic.com/blog
>>
>>
>>
>>
>>
>> *From:* galli...@googlegroups.com [mailto:galli...@googlegroups.com] *On
>> Behalf Of *Yann Trevin
>> *Sent:* Thursday, April 29, 2010 2:57 PM
>>
>> *To:* galli...@googlegroups.com
>> *Subject:* Re: MbUnit, .NET 4, R# 5, MSpec, TD.Net
>> > > Phil.japi...@pinnsg.com |www.twitter.com/skimedic|<http://www.twitter.com/skimedic%7C>(513) 312-5664
>> gallio-dev+...@googlegroups.com<gallio-dev%2Bunsu...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/gallio-dev?hl=en.
>>
>> No virus found in this incoming message.
>> Checked by AVG - www.avg.com
>>
>> Version: 9.0.814 / Virus Database: 271.1.1/2842 - Release Date: 04/29/10
>> 02:27:00
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "gallio-dev" group.
>> To post to this group, send email to galli...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> gallio-dev+...@googlegroups.com<gallio-dev%2Bunsu...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/gallio-dev?hl=en.
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "gallio-dev" group.
>> To post to this group, send email to galli...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> gallio-dev+...@googlegroups.com<gallio-dev%2Bunsu...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/gallio-dev?hl=en.
>>
>> No virus found in this incoming message.
>> Checked by AVG - www.avg.com
>> Version: 9.0.814 / Virus Database: 271.1.1/2842 - Release Date: 04/29/10
>> 02:27:00
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "gallio-dev" group.
>> To post to this group, send email to galli...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> gallio-dev+...@googlegroups.com<gallio-dev%2Bunsu...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/gallio-dev?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups "gallio-dev" group.
> To post to this group, send email to galli...@googlegroups.com.
> To unsubscribe from this group, send email to gallio-dev+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/gallio-dev?hl=en.
>