PEASS-ng/winPEAS/winPEASexe/Tests/SmokeTests.cs
2021-07-06 16:56:28 +02:00

24 lines
558 B
C#

using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace winPEAS.Tests
{
[TestClass]
public class SmokeTests
{
[TestMethod]
public void ShouldRunWinPeass()
{
try
{
string[] args = new string[] { "systeminfo", "userinfo", "networkinfo", "servicesinfo","processinfo" };
Program.Main(args);
}
catch (Exception e)
{
Assert.Fail($"Exception thrown: {e.Message}");
}
}
}
}