1 // ****************************************************************
\r
2 // Copyright 2007, Charlie Poole
\r
3 // This is free software licensed under the NUnit license. You may
\r
4 // obtain a copy of the license at http://nunit.org/?p=license&r=2.4
\r
5 // ****************************************************************
\r
8 using System.Reflection;
\r
10 namespace NUnit.Fixtures
\r
13 /// Summary description for AssemblyRunner.
\r
15 public class AssemblyRunner : TestLoadFixture
\r
17 public string Assembly;
\r
19 // Override doCell to handle the 'Code' column. We compile
\r
20 // the code and optionally load and run the tests.
\r
21 public override void doCell(fit.Parse cell, int columnNumber)
\r
23 base.doCell (cell, columnNumber);
\r
25 FieldInfo field = columnBindings[columnNumber].field;
\r
26 if ( field != null && field.Name == "Assembly" )
\r
27 LoadAndRunTestAssembly( cell, Assembly );
\r