Hi Dynamics Community,
I am new to Dynamics Testing and ATL. While running any test case in Visual Studio using Test Explorer, I am getting the below error.
Message:
Exception has been thrown by the target of an invocation.
Stack Trace:
RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
AOS.StartupInternal(String[] Arguments)
AOS.Startup()
?A0xf2c79d70.GetAosConfig()
Config.InitInternal()
Config.InitOnce(Boolean isOfflineMode)
InProcExecutor.Execute()
SysTestExecutor.RunXppTests(IEnumerable`1 tests)
Below is the code:
public class SampleTest extends SysTestCase
{
[SysTestMethod, Hookable(false)]
public void myTest()
{
this.assertTrue(true);
}
public void setup()
{
super();
}
}
Please let me know if anyone is aware how to resolve.