-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: switch to an incremental source generator (#720)
Use an [incremental source generator](https://github.com/dotnet/roslyn/blob/main/docs/features/incremental-generators.md) (see [here](https://andrewlock.net/creating-a-source-generator-part-1-creating-an-incremental-source-generator/)) for creating the test classes. Replace inheritance with a marker attribute, so for the test classes you have to write ```csharp [FileSystemTests] public partial class Tests { // your tests... } ``` instead of ```csharp public abstract partial class Tests<TFileSystem> : FileSystemTestBase<TFileSystem> where TFileSystem : IFileSystem { // your tests... } ```
- Loading branch information
Showing
198 changed files
with
1,128 additions
and
1,605 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 0 additions & 54 deletions
54
Tests/Helpers/Testably.Abstractions.TestHelpers/FileSystemTestBase.cs
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
Tests/Helpers/Testably.Abstractions.TestHelpers/RandomSystemTestBase.cs
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
Tests/Helpers/Testably.Abstractions.TestHelpers/TestBase.cs
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
Tests/Helpers/Testably.Abstractions.TestHelpers/TimeSystemTestBase.cs
This file was deleted.
Oops, something went wrong.
85 changes: 0 additions & 85 deletions
85
Tests/Helpers/Testably.Abstractions.Tests.SourceGenerator/ClassGeneratorBase.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.