Testing Module
Types and nested modules
| Type/Module | Description |
Functions and values
| Function or value | Description |
Full Usage:
getContext opts source
Parameters:
FSharpProjectOptions
-
The project options to use.
source : string
-
The file to analyze.
Returns: CliContext
CliContext
|
|
Full Usage:
getContextFor opts allSources fileToAnalyze
Parameters:
AnalyzerProjectOptions
-
The project options to use.
allSources : SourceFile list
-
All the source files in the project.
fileToAnalyze : SourceFile
-
The file to analyze.
Returns: Task<CliContext>
CliContext
|
|
Full Usage:
getContextForSignature opts source
Parameters:
FSharpProjectOptions
-
The project options to use.
source : string
-
The file to analyze.
Returns: CliContext
CliContext
|
|
Full Usage:
mkOptionsFromProject framework additionalPkgs
Parameters:
string
-
The target framework for the tested code to use. E.g. net6.0, net7.0
additionalPkgs : Package list
-
A list of additional packages that should be referenced. The tested code can use these.
Returns: Task<FSharpProjectOptions>
FSharpProjectOptions
|
|
Full Usage:
mkSnapshotFromProject framework additionalPkgs
Parameters:
string
-
The target framework for the tested code to use. E.g. net6.0, net7.0
additionalPkgs : Package list
-
A list of additional packages that should be referenced. The tested code can use these.
Returns: Task<FSharpProjectSnapshot>
FSharpProjectSnapshot
|
Type extensions
| Type extension | Description |
|
Extended Type:
|
|
Extended Type:
|
Full Usage:
FSharpProjectSnapshot.zero ()
Parameters:
unit
Returns: FSharpProjectSnapshot
|
Extended Type:
|
Full Usage:
FSharpProjectSnapshot.zero
Returns: FSharpProjectSnapshot
|
Extended Type:
|
FSharp.Analyzers.SDK