github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

mhenry07 / ASPUnitRunner

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (3)
  • Wiki (1)
  • Graphs
  • Tree: 2ce3832

click here to add a description

click here to add a homepage

  • Branches (1)
    • master
  • Tags (2)
    • v0.2
    • v0.1
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

An NUnit test runner for ASPUnit (run classic ASP unit tests from NUnit) — Read more

  cancel

http://www.mikehenry.name/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Added samples with complete sample code. 
mhenry07 (author)
Mon May 18 19:41:55 -0700 2009
commit  2ce383265f3e8cbbc59a68e4e20aa4f60b010a95
tree    bf84919547dbdfa5859a789d92f260679f80ca47
parent  28bc175d4292f09e364cd02e3b14c02d47d70e59
ASPUnitRunner / samples / asp.NUnitTests / TestAsp.cs samples/asp.NUnitTests/TestAsp.cs
100644 24 lines (20 sloc) 0.826 kb
edit raw blame history
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using NUnit.Framework;
using AspUnitRunner;
 
namespace asp.NUnitTests {
[TestFixture]
    public class TestAsp {
        // set the URI for your ASPUnit tests
        private const string AspUnitUri = "http://localhost/AspUnitRunner/asp.tests/";
 
[Test]
        public void TestCase(
            // set ASPUnit test containers here
[Values("CalculatorTest", "StringUtilityTest")] string testContainer
            ) {
            Runner runner = new Runner(AspUnitUri);
            Results results = runner.Run(testContainer);
 
            // Note: results.Details can generate a long HTML string which NUnit doesn't format very well
            Assert.That(results.Errors, Is.EqualTo(0), results.Details);
            Assert.That(results.Failures, Is.EqualTo(0), results.Details);
        }
    }
}
 
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server