- updated winpeas tests

- updated CI-winpeas_build_test.yml
This commit is contained in:
makikvues
2021-07-07 10:46:51 +02:00
parent 9e9a3f55a3
commit faefb80ec4
3 changed files with 108 additions and 48 deletions

View File

@@ -11,7 +11,25 @@ namespace winPEAS.Tests
{
try
{
string[] args = new string[] { "systeminfo", "userinfo", "networkinfo", "servicesinfo","processinfo" };
string[] args = new string[] {
"systeminfo", "networkinfo", "servicesinfo", "processinfo", "applicationsinfo", "browserinfo", "debug"
};
Program.Main(args);
}
catch (Exception e)
{
Assert.Fail($"Exception thrown: {e.Message}");
}
}
[TestMethod]
public void ShouldDisplayHelp()
{
try
{
string[] args = new string[] {
"help",
};
Program.Main(args);
}
catch (Exception e)