Fervent Coder

Coding Towards Utopia...by Rob Reynolds
posts - 272 , comments - 427 , trackbacks - 0

My Links

News


Rob Reynolds

Subscribe to Fervent Coder RSS
Subscribe to Fervent Coder by Email

About Me

I manage several open source projects. Need...
   ...package management for Windows?
   ...automated builds?
   ...database change management (migrations)?
   ...your application to check email?
   ...a monitoring utility?

I also write for



Like what you are reading? Want to buy me a cup of coffee?
PayPal - The safer, easier way to pay online!

Article Categories

Archives

Post Categories

Image Galleries

Sites

UppercuT - Automated Builds - Test Category Filters

I'm happy to announce that UppercuT now has test category filters.  The NUnit Task had them by default. To get categories added to MbUnit Task, I had to go back to the source code and add them. I followed the same format that NAnt-Extensions used:

<mbunit
    report-types="Html;Xml;Text"
    report-filename-format="${file.test_results}"
    report-output-directory="${dirs.test_results}"
    halt-on-failure="true"
    failonerror="true"
    >
  <assemblies>
    <exclude name="${dirs.build}\*Database*dll" />
    <exclude name="${dirs.build}\*.Integration*dll" />
    <exclude name="${dirs.build}\TestFu.dll" />
    <include name="${dirs.build}\*Test*dll" />
    <include name="${dirs.build}\*.Specs*dll" />
  </assemblies>
  <categories>
    <exclude name="Database" />
    <exclude name="Integration" />
    <exclude name="Slow" />
    <exclude name="NotWorking" />
    <exclude name="Ignore" />
    <exclude name="database" />
    <exclude name="integration" />
    <exclude name="slow" />
    <exclude name="notworking" />
    <exclude name="ignore" />
  </categories>
</mbunit>

That has been added in Revision 111. Keep in mind when you get the latest version, you will need to replace MbUnit.Tasks.dll in your NAnt folder as well.

With this knowledge you shall build.

 

kick it on DotNetKicks.com

Print | posted on Saturday, June 6, 2009 12:20 PM | Filed Under [ Code UppercuT ]

Feedback

Comments are closed.
Comments have been closed on this topic.

Powered by: