Open sandboxFocus

Class CurrentProjectAttribute

An implementation of SyntaxAttribute that generates test cases from files in the current project. To be used with [Theory]. This attribute will not include subdirectories that contain a file named _Runner.cs. It also takes into account the metalamaTests.config file.

Inheritance
DataAttribute
CurrentProjectAttribute
Namespace: Metalama.Testing.AspectTesting
Assembly: Metalama.Testing.AspectTesting.dll
Syntax
public sealed class CurrentProjectAttribute : DataAttribute

Constructors

Name Description
CurrentProjectAttribute()

Methods

Name Description
GetData(MethodInfo)

Returns the data to be used to test the theory.