-
Notifications
You must be signed in to change notification settings - Fork 135
/
Copy pathProgram.cs
29 lines (28 loc) · 1000 Bytes
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using NUnitLite;
namespace Tests
{
public class Program
{
public static void Main()
{
var testsToRun = new string[]
{
typeof(Task1_GetUserByIdTests).FullName,
typeof(Task2_CreateUserTests).FullName,
typeof(Task3_UpdateUserTests).FullName,
typeof(Task4_PartiallyUpdateUserTests).FullName,
typeof(Task5_DeleteUserTests).FullName,
typeof(Task6_HeadUserByIdTests).FullName,
typeof(Task7_GetUsersTests).FullName,
typeof(Task8_GetUsersOptionsTests).FullName,
};
new AutoRun().Execute(new[]
{
// раскомментируй, чтоб останавливать выполнение после первой ошибки
// "--stoponerror",
"--noresult",
"--test=" + string.Join(",", testsToRun)
});
}
}
}