static int Main(string[] args) { args = new string[] { //"CommonTests.IntegrationTests.DynamoDB.DynamoDBTests.TestUnsupportedTypesSync" //"TestITypeInfo" //"TestUnsupportedTypesSync" }; bool allPassed; try { var runner = new ConsoleRunner(); runner.TestsToRun = new string[] { }; runner.CategoriesToRun = new string[] { }; allPassed = runner.ExecuteAllTests(); } catch(Exception ex) { Console.WriteLine(ex.Message); allPassed = false; } Console.WriteLine("Test run complete!"); return (allPassed ? 0 : 1); }
static int Main(string[] args) { args = new string[] { //"CommonTests.IntegrationTests.DynamoDB.DynamoDBTests.TestUnsupportedTypesSync" //"TestITypeInfo" //"TestUnsupportedTypesSync" }; bool allPassed; try { var runner = new ConsoleRunner(); runner.TestsToRun = new string[] { }; runner.CategoriesToRun = new string[] { }; allPassed = runner.ExecuteAllTests(); } catch (Exception ex) { Console.WriteLine(ex.Message); allPassed = false; } Console.WriteLine("Test run complete!"); return(allPassed ? 0 : 1); }