I'm developing some end-to-end tests using C# with .NET Core, Selenium and NUnit. Now i want to write a login testcase. My tests are started from console simply by using the dotnet test
command.
I simply want to pass username and password to this command and get them in my tests. I can not use NUnit-Console since it doesn't support .NET Core at the moment.
Whats the suggested way to solve this problem? I would prefer to not store the settings in a file but to directly input them into the console.
Aucun commentaire:
Enregistrer un commentaire