0

I run through console a myProgram.dll with NUnit. I'd like the myProgram.dll I coded to receive a specific date which is a date to stop.

nunit-console myProgram.dll

I know I could achieve it by writing the date to stop in a text file and my function [Test] could read in the document. But is there a more direct way?

Cher
  • 2,789
  • 10
  • 37
  • 64
  • Here is a similar question: http://stackoverflow.com/questions/3189149/pass-parameters-via-command-line-to-nunit – brianc Jun 09 '15 at 01:32
  • I think that may answer it, thx! I want to post a detailed answer, what I would do is : nunit-console myProgram.dll set "bobby" ? that doesn't work maybe I misuse it – Cher Jun 09 '15 at 13:32

0 Answers0