https://github.com/exortek/csharp-unit-test-assemblylvl
https://github.com/exortek/csharp-unit-test-assemblylvl
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/exortek/csharp-unit-test-assemblylvl
- Owner: ExorTek
- Created: 2021-08-13T10:50:21.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-13T12:37:48.000Z (almost 5 years ago)
- Last Synced: 2025-03-10T20:17:12.490Z (over 1 year ago)
- Language: C#
- Size: 1.13 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Unit Test
## Assembly Level
```csharp
[TestClass]
public class UnitTest
{
[AssemblyInitialize]
public static void AssemblyInitialize(TestContext context)
{
Debug.WriteLine("Running AssemblyInitialize");
}
[AssemblyCleanup]
public static void AssemblyCleanup()
{
Debug.WriteLine("Running AssemblyCleanup");
}
[TestMethod]
public void TestMethod()
{
Debug.WriteLine("Running TestMethod");
}
}
```

- [Documentation 1](https://docs.microsoft.com/en-us/visualstudio/test/unit-test-basics?view=vs-2019)
- [Documentation 2](https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2008/ms245278(v=vs.90))