Изменения документа MSTest
Редактировал(а) Alexandr Fokin 2023/08/08 15:23
<
>
отредактировано Alexandr Fokin
на 2023/01/08 19:39
на 2023/01/08 19:39
отредактировано Alexandr Fokin
на 2023/01/09 03:52
на 2023/01/09 03:52
Изменить комментарий:
К данной версии нет комментариев
Комментарий
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Содержимое
-
... ... @@ -1,1 +1,28 @@ 1 1 Из коробки интегрируется с [[VisualStudio>>doc:Разработка.NET.VisualStudio.WebHome||style="outline-width: 0px !important; user-select: auto !important;"]]. 2 + 3 +Использование платформы MSTest в модульных тестах 4 +[[https:~~/~~/learn.microsoft.com/ru-ru/visualstudio/test/using-microsoft-visualstudio-testtools-unittesting-members-in-unit-tests?view=vs-2022>>https://learn.microsoft.com/ru-ru/visualstudio/test/using-microsoft-visualstudio-testtools-unittesting-members-in-unit-tests?view=vs-2022]] 5 + 6 +Unit testing C# with MSTest and .NET 7 +[[https:~~/~~/learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-with-mstest>>https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-with-mstest]] 8 + 9 +---- 10 + 11 +(% style="width:940px" %) 12 +|(% style="width:937px" %)Атрибуты - события 13 +|(% style="width:937px" %){{code language="none"}}AssemblyInitialize 14 +TestClass1: ClassInitialize 15 +TestClass1: TestInitialize 16 +TestClass1: MyTestCase1 17 +TestClass1: TestCleanup 18 +TestClass2: ClassInitialize 19 +TestClass2: TestInitialize 20 +TestClass2: MyTestCase2 21 +TestClass2: TestCleanup 22 +TestClass1: ClassCleanup 23 +TestClass2: ClassCleanup 24 +AssemblyCleanup{{/code}} 25 +|(% style="width:937px" %)ClassCleanup May Run Later Than You Think 26 +[[https:~~/~~/learn.microsoft.com/ru-ru/archive/blogs/ploeh/classcleanup-may-run-later-than-you-think>>https://learn.microsoft.com/ru-ru/archive/blogs/ploeh/classcleanup-may-run-later-than-you-think]] 27 + 28 +