Sha256: d6d86693c552c4015293155df4b2b91900e66a0763ab1566a00dfe0fa2203f2f

Contents?: true

Size: 1.43 KB

Versions: 1

Compression:

Stored size: 1.43 KB

Contents

<?xml version="1.0"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <CodeSnippet Format="1.0.0">
    <Header>
      <Title>AutoRunner</Title>
      <Author>MbUnit</Author>
      <Description>Expansion snippet for a AutorRunner main.</Description>
      <Shortcut>autorunner</Shortcut>
      <SnippetTypes>
        <SnippetType>Expansion</SnippetType>
      </SnippetTypes>
    </Header>
    <Snippet>
      <Declarations>
        <Literal>
          <ID>name</ID>
          <ToolTip>Main class name</ToolTip>
          <Default>Program</Default>
        </Literal>
        <Literal>
          <ID>namespace</ID>
          <Default>MbUnitTests</Default>
        </Literal>
      </Declarations>
      <Code Language="VB"><![CDATA[Imports System
Imports MbUnit.Core
'Imports MbUnit.Core.Filters

Namespace $namespace$
    Class $name$
        Public Shared Sub Main()
            Using auto As AutoRunner = New AutoRunner()
                ' Note: uncomment "Imports MbUnit.Core.Filters" and the following line if you want to
                ' execute only the fixtures that are tagged with <CurrentFixture()> attribute.
                
                '  auto.Domain.Filter = FixtureFilters.Current
                auto.Run()
                auto.ReportToHtml()
            End Using
        End Sub
    End Class
End Namespace]]></Code>
    </Snippet>
  </CodeSnippet>
</CodeSnippets>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mbunit2-2.4.2.355.20100801 docs/extras/Snippets/autorunner.snippet