lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [lucenenet] bongohrtech commented on pull request #287: Implemenation of "System Properties" in .NET (addresses #254)
Date Sun, 17 May 2020 07:00:25 GMT

bongohrtech commented on pull request #287:

   I have been unable to read test parameters from the command line. This impacts on the TestParametersConfigurationSource
implementation. suggests
you can pass a runsettings file and args via dotnet test but I was unable to get this to work.
   This test would not pick up any args via CLI. 
           public virtual void TestCommandLineProperty()
               TestContext.Progress.WriteLine("TestContext.Parameters ({0})", TestContext.Parameters.Count);
               foreach (var x in TestContext.Parameters.Names)
                   TestContext.Progress.WriteLine(string.Format("{0}={1}", x, TestContext.Parameters[x]));
   Further, and more importantly, even when passing args via CLI i was not able to use a :
colon as a separator. This is possible in a runsettings file but not on the CLI it seems:
   dotnet test  -- tests:seed=0x00000010
   "One or more runsettings provided contain invalid token"

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

View raw message