Get rid of internal tests

Move all tests to e2e+ level
This commit is contained in:
Alexey Golub
2020-08-19 19:37:44 +03:00
parent b17341b56c
commit 3831cfc7c0
63 changed files with 3058 additions and 2751 deletions

View File

@@ -0,0 +1,15 @@
using System;
using System.Threading.Tasks;
using CliFx.Attributes;
namespace CliFx.Tests.Commands
{
[Command("cmd")]
public class GenericExceptionCommand : ICommand
{
[CommandOption("msg", 'm')]
public string? Message { get; set; }
public ValueTask ExecuteAsync(IConsole console) => throw new Exception(Message);
}
}