Jeff I think my issues with setup are due to not being a 'real' developer :-). my back ground is infrastructure so I often need very clear instructions when it comes to compiling code, references etc etc
I initially made the assumption I did NOT need Gallio, my thinking was TeamCity would talk to MbUnit directly and Gallio was just the UI for MBunit if I were to run tests manually My next assumption was that I only need the dll's and I guess this was because I did not understand the significance of the .plugins. I had searched the web sites at teamcity, Gallio, MBUnit & Selnium but could not find anything to help me understand what I was missing, I was not even sure in which product the issue was. The MbUnit document link gave me an error docs.mbunit.com and was a little frustrating. I hope to write an article on my blog on how I got all the components working. Once I have done this I will drop you a line and your welcome to either link to it or copy & paste it to your site with a small acknowledgement :-) Perhaps I'll even do a short screen capture demonstrating the setup Thanks Rob Having said On May 25, 8:54 pm, "Jeff Brown" <[email protected]> wrote: > If you have any suggestion as to how the packaging process can be improved, > please let me know. > > This is a fairly common mistake for people new to Gallio. > > Jeff. > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > > Behalf Of Rob Langley > Sent: Monday, May 25, 2009 1:52 PM > To: MbUnit.User > Subject: MbUnit Re: Trying to join up the dots > > Thanks.... > > It now working... > > I had not copied any of the .plugin files. I had only copied the dlls. > > Rob > > On May 24, 7:15 pm, Jeff Brown <[email protected]> wrote: > > The likely problem is that you have not copied all of the required > > Gallio plugins files to the build server in the selenium references > > folder. > > > Jeff > > > On May 24, 2009, at 10:45 AM, Rob Langley <[email protected]> > > wrote: > > > > Hi > > > > I love the idea of automated testing but an new to it all. Over the > > > last few weeks I have had a play with Selenium and Teamcity in > > > isolation. Teamcity now builds and deploys my code to a test server > > > and I have written a few simple tests in selenium that work when I > > > compile my code in Visual Studio. I'm now trying to but it together > > > with MbUnit and am getting an error now. > > > > "C:\build\msbuildCfg.xml.teamcity.patch.tcprojx" (RunTests target) (1) > > > -> > > > (RunTests target) -> > > > C:\build\msbuildCfg.xml(12,5): error : An unexpected error occurred > > > during execution of the Gallio task. > > > C:\build\msbuildCfg.xml(12,5): error : RuntimeException: Could not > > > resolve service of type Gallio.Runner.Reports.IReportManager. > > > > Below is my msbuildCfg.xml file which teamcity calls, which I have > > > copied from various postings on the net > > > > <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> > > > <!-- This is needed by MSBuild to locate the Gallio task --> > > > <UsingTask AssemblyFile="selenium\referances > > > \Gallio.MSBuildTasks.dll" TaskName="Gallio" /> > > > > <!-- Specify the tests assemblies --> > > > <ItemGroup> > > > <TestAssemblies Include="selenium\bin\Debug\selenium.dll" /> > > > </ItemGroup> > > > > <Target Name="RunTests"> > > > <Gallio IgnoreFailures="false" Assemblies="@(TestAssemblies)" > > > RunnerExtensions="TeamCityExtension,Gallio.TeamCityIntegration"> > > > <!-- This tells MSBuild to store the output value of the task's > > > ExitCode property into the project's ExitCode property --> > > > <Output TaskParameter="ExitCode" PropertyName="ExitCode"/> > > > </Gallio> > > > > <Error Text="Tests execution failed" Condition="'$(ExitCode)' != > > > 0" / > > > > </Target> > > > > <Target Name="Build"> > > > <Message Text="Starting to Build"/> > > > <MSBuild Projects="Selenium.sln" Targets="Rebuild" > > > Properties="Configuration=Debug" /> > > > </Target> > > > </Project> > > > > Any help would be appriciated > > > > Thanks > > > > Rob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MbUnit.User" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MbUnitUser?hl=en -~----------~----~----~----~------~----~------~--~---
