MetalamaAPI documentationAdvanced APIMetalama.​Testing.​Aspect­TestingCurrent­Project­Attribute
Open sandboxFocus

CurrentProjectAttribute Class

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
System.Object
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)