how run nunit programmatically


i have public references nunit creates unparalleled exam category unparalleled exam method. i am means record component route public (e.g. "c:...\test.dll"). i programmatically nunit run opposing assembly.



so distant i have:



var screen = new simpletestrunner();
runner.load(path);
var outcome = runner.run(nulllistener.null);


however, job runner.load(path) throws filenotfound exception. i by smoke-stack snippet problem nunit job assembly.load(path) down stack. i change route something "test, version=1.0.0.0, culture=neutral, publickeytoken=null" following i still same error.



i have total an eventuality handler appdomain.current.assemblyresolve i manually solve form nonetheless handler never gets called.



what tip removing assembly.load(...) work??



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?