public nTestResultSet(Type target) { Target = target; var methods = Target.GetMethods (); foreach (var m in methods) { var testAttribs = from a in m.GetCustomAttributes(typeof(nTest), false) select a; if (testAttribs.Any()) { var r = new nTestResult(m); Results.Add(r); } } }
public nTestLogWriter(nTestResult results) { _results = results; }