Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:9.0@sha256:ebdda0ef27534653a88e28c32b10446e78c86bcd1bae7f355a8ef995d3c312e9
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:9.0@sha256:d99e4e4a3de2bf9249b985e7cb05024d9227361bd346611c0b7f352360c4dc3b
RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && nvm install lts/* 2>&1"
RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g cspell" 2>&1
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 2
- uses: github/codeql-action/init@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3
- uses: github/codeql-action/init@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
- uses: github/codeql-action/analyze@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3
- uses: github/codeql-action/analyze@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3
6 changes: 3 additions & 3 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Bullseye" Version="6.0.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="3.3.4" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="4.14.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.0" />
<PackageVersion Include="MinVer" Version="6.0.0" />
<PackageVersion Include="SimpleExec" Version="12.0.0" />
<PackageVersion Include="System.Linq.Async" Version="6.0.1" />
<PackageVersion Include="xunit" Version="2.9.3" />
<PackageVersion Include="xunit.extensibility.core" Version="2.9.3" />
<PackageVersion Include="xunit.extensibility.execution" Version="2.9.3" />
<PackageVersion Include="xunit.runner.utility" Version="2.9.3" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.0"/>
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.0" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion LambdaTale.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
</Folder>
<Folder Name="/src/">
<File Path="src/Directory.Build.props" />
<Project Path="src/LambdaTale.Execution/LambdaTale.Execution.csproj" />
<Project Path="src/LambdaTale/LambdaTale.csproj" />
<Project Path="src/LambdaTale.Execution/LambdaTale.Execution.csproj" />
</Folder>
<Folder Name="/targets/">
<Project Path="targets/Targets.csproj" />
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ _[![LambdaTale NuGet version](https://img.shields.io/nuget/v/bbv.LambdaTale?labe
> [!NOTE]
> This is a fork of [xBehave.net](https://github.com/adamralph/xbehave.net). Adam, thank you very much!

_[![CI](https://github.com/bbvch/LambdaTale/workflows/.github/workflows/ci.yml/badge.svg)](https://github.com/bbvch/LambdaTale/actions?query=workflow%3A.github%2Fworkflows%2Fci.yml)_
_[![CodeQL](https://github.com/bbvch/LambdaTale/workflows/.github/workflows/codeql-analysis.yml/badge.svg)](https://github.com/bbvch/LambdaTale/actions?query=workflow%3A.github%2Fworkflows%2Fcodeql-analysis.yml)_
_[![Lint](https://github.com/bbvch/LambdaTale/workflows/.github/workflows/lint.yml/badge.svg)](https://github.com/bbvch/LambdaTale/actions?query=workflow%3A.github%2Fworkflows%2Flint.yml)_
_[![Spell check](https://github.com/bbvch/LambdaTale/workflows/.github/workflows/spell-check.yml/badge.svg)](https://github.com/bbvch/LambdaTale/actions?query=workflow%3A.github%2Fworkflows%2Fspell-check.yml)_
[![CI](https://github.com/bbvch/LambdaTale/actions/workflows/ci.yml/badge.svg)](https://github.com/bbvch/LambdaTale/actions/workflows/ci.yml)
[![CodeQL](https://github.com/bbvch/LambdaTale/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/bbvch/LambdaTale/actions/workflows/codeql-analysis.yml)
[![Lint](https://github.com/bbvch/LambdaTale/actions/workflows/lint.yml/badge.svg)](https://github.com/bbvch/LambdaTale/actions/workflows/lint.yml)
[![Spell check](https://github.com/bbvch/LambdaTale/actions/workflows/spell-check.yml/badge.svg)](https://github.com/bbvch/LambdaTale/actions/workflows/spell-check.yml)

Platform support: [.NET Standard 2.0 and upwards](https://docs.microsoft.com/en-us/dotnet/standard/net-standard).

Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "9.0.203",
"version": "9.0.300",
"rollForward": "latestMinor",
"allowPrerelease": false
}
Expand Down
1 change: 1 addition & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<AnalysisMode>All</AnalysisMode>
<TargetFramework>netstandard2.0</TargetFramework>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
</PropertyGroup>

<!-- assembly signing -->
Expand Down
6 changes: 5 additions & 1 deletion src/LambdaTale/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ LambdaTale.Sdk.IStepDefinition.Teardown(System.Func<LambdaTale.Sdk.IStepContext,
LambdaTale.Sdk.IStepDefinition.Teardowns.get -> System.Collections.Generic.ICollection<System.Func<LambdaTale.Sdk.IStepContext, System.Threading.Tasks.Task>>
LambdaTale.Sdk.IStepDefinition.Text.get -> string
LambdaTale.Sdk.IStepDefinition.Text.set -> void
LambdaTale.Specifications
LambdaTale.StringExtensions
override LambdaTale.ExampleAttribute.GetData(System.Reflection.MethodInfo testMethod) -> System.Collections.Generic.IEnumerable<object[]>
static LambdaTale.DisposableExtensions.Using<T>(this T disposable, LambdaTale.Sdk.IStepContext stepContext) -> T
Expand All @@ -56,7 +57,10 @@ static LambdaTale.IStepDefinitionExtensions.Teardown(this LambdaTale.Sdk.IStepDe
static LambdaTale.Sdk.CurrentThread.Add(LambdaTale.Sdk.IStepDefinition item) -> void
static LambdaTale.Sdk.CurrentThread.EnterStepDefinitionContext() -> System.IDisposable
static LambdaTale.Sdk.CurrentThread.StepDefinitions.get -> System.Collections.Generic.IEnumerable<LambdaTale.Sdk.IStepDefinition>
static LambdaTale.Specifications.Spec(string text, System.Action body) -> LambdaTale.Sdk.IStepBuilder
static LambdaTale.Specifications.Spec(string text, System.Func<System.Threading.Tasks.Task> body) -> LambdaTale.Sdk.IStepBuilder
static LambdaTale.StringExtensions.x(this string text, System.Action body) -> LambdaTale.Sdk.IStepBuilder
static LambdaTale.StringExtensions.x(this string text, System.Action<LambdaTale.Sdk.IStepContext> body) -> LambdaTale.Sdk.IStepBuilder
static LambdaTale.StringExtensions.x(this string text, System.Func<System.Threading.Tasks.Task> body) -> LambdaTale.Sdk.IStepBuilder
static LambdaTale.StringExtensions.x(this string text, System.Func<LambdaTale.Sdk.IStepContext, System.Threading.Tasks.Task> body) -> LambdaTale.Sdk.IStepBuilder
static LambdaTale.StringExtensions.x(this string text, System.Func<System.Threading.Tasks.Task> body) -> LambdaTale.Sdk.IStepBuilder
virtual LambdaTale.Sdk.GetStepDisplayText.Invoke(string stepText, bool isBackgroundStep) -> string
3 changes: 0 additions & 3 deletions src/LambdaTale/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
LambdaTale.Specifications
static LambdaTale.Specifications.Spec(string text, System.Action body) -> LambdaTale.Sdk.IStepBuilder
static LambdaTale.Specifications.Spec(string text, System.Func<System.Threading.Tasks.Task> body) -> LambdaTale.Sdk.IStepBuilder
6 changes: 3 additions & 3 deletions src/LambdaTale/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
".NETStandard,Version=v2.0": {
"Microsoft.CodeAnalysis.PublicApiAnalyzers": {
"type": "Direct",
"requested": "[3.3.4, )",
"resolved": "3.3.4",
"contentHash": "kNLTfXtXUWDHVt5iaPkkiPuyHYlMgLI6SOFT4w88bfeI2vqSeGgHunFkdvlaCM8RDfcY0t2+jnesQtidRJJ/DA=="
"requested": "[4.14.0, )",
"resolved": "4.14.0",
"contentHash": "5zBDSa8D1pfn5VyDzRekcYdVx/DGAzwegblVJhzdN0kvPt97TPr12haA6ZG0wS2WgBb1W42GeZJRiRtlNaoY1w=="
},
"MinVer": {
"type": "Direct",
Expand Down
44 changes: 26 additions & 18 deletions tests/LambdaTale.Test/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"net9.0": {
"Microsoft.NET.Test.Sdk": {
"type": "Direct",
"requested": "[17.13.0, )",
"resolved": "17.13.0",
"contentHash": "W19wCPizaIC9Zh47w8wWI/yxuqR7/dtABwOrc8r2jX/8mUNxM2vw4fXDh+DJTeogxV+KzKwg5jNNGQVwf3LXyA==",
"requested": "[17.14.0, )",
"resolved": "17.14.0",
"contentHash": "rTtdOm6C96q9QgP3mS8nUGPGPh5Xm2HnBYJggNmNrJ3LDmX9lJuUIgnJEfvX6wSQY4swUMiCcIXd3OkjhYCgtw==",
"dependencies": {
"Microsoft.CodeCoverage": "17.13.0",
"Microsoft.TestPlatform.TestHost": "17.13.0"
"Microsoft.CodeCoverage": "17.14.0",
"Microsoft.TestPlatform.TestHost": "17.14.0"
}
},
"xunit": {
Expand Down Expand Up @@ -40,35 +40,43 @@
},
"Microsoft.CodeCoverage": {
"type": "Transitive",
"resolved": "17.13.0",
"contentHash": "9LIUy0y+DvUmEPtbRDw6Bay3rzwqFV8P4efTrK4CZhQle3M/QwLPjISghfcolmEGAPWxuJi6m98ZEfk4VR4Lfg=="
"resolved": "17.14.0",
"contentHash": "z2GYXGG6LjGoumT59xSB2dMnqSwQBjkxdDJmSJHwy5nPtZ435GXa6wj5hz/lRrAZ7NyXXxZNXVsiHXzHRru5eA=="
},
"Microsoft.TestPlatform.ObjectModel": {
"type": "Transitive",
"resolved": "17.13.0",
"contentHash": "bt0E0Dx+iqW97o4A59RCmUmz/5NarJ7LRL+jXbSHod72ibL5XdNm1Ke+UO5tFhBG4VwHLcSjqq9BUSblGNWamw==",
"resolved": "17.14.0",
"contentHash": "3h7y7f/HuY8jdZa163p/55VmGw/fYJwrI8FOtsp4aEQAJaPgBr5LBS25uOfBwRYI95QDiByfaqSPBcWEvuHEwA==",
"dependencies": {
"System.Reflection.Metadata": "1.6.0"
"System.Reflection.Metadata": "8.0.0"
}
},
"Microsoft.TestPlatform.TestHost": {
"type": "Transitive",
"resolved": "17.13.0",
"contentHash": "9GGw08Dc3AXspjekdyTdZ/wYWFlxbgcF0s7BKxzVX+hzAwpifDOdxM+ceVaaJSQOwqt3jtuNlHn3XTpKUS9x9Q==",
"resolved": "17.14.0",
"contentHash": "8htQBKM92s/NXUI/U0/CKKLlvlDfWIo3/mbnY/GS/2XLkBGNIVQufmUpDIzznaZqUpdzspGSsJcLhVN8aRoMaA==",
"dependencies": {
"Microsoft.TestPlatform.ObjectModel": "17.13.0",
"Newtonsoft.Json": "13.0.1"
"Microsoft.TestPlatform.ObjectModel": "17.14.0",
"Newtonsoft.Json": "13.0.3"
}
},
"Newtonsoft.Json": {
"type": "Transitive",
"resolved": "13.0.1",
"contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A=="
"resolved": "13.0.3",
"contentHash": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ=="
},
"System.Collections.Immutable": {
"type": "Transitive",
"resolved": "8.0.0",
"contentHash": "AurL6Y5BA1WotzlEvVaIDpqzpIPvYnnldxru8oXJU2yFxFUy3+pNXjXd1ymO+RA0rq0+590Q8gaz2l3Sr7fmqg=="
},
"System.Reflection.Metadata": {
"type": "Transitive",
"resolved": "1.6.0",
"contentHash": "COC1aiAJjCoA5GBF+QKL2uLqEBew4JsCkQmoHKbN3TlOZKa2fKLz5CpiRQKDz0RsAOEGsVKqOD5bomsXq/4STQ=="
"resolved": "8.0.0",
"contentHash": "ptvgrFh7PvWI8bcVqG5rsA/weWM09EnthFHR5SCnS6IN+P4mj6rE1lBDC4U8HL9/57htKAqy4KQ3bBj84cfYyQ==",
"dependencies": {
"System.Collections.Immutable": "8.0.0"
}
},
"xunit.abstractions": {
"type": "Transitive",
Expand Down
1 change: 1 addition & 0 deletions tests/LambdaTale.Test/xunit.runner.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"$schema": "https://xunit.net/schema/current/xunit.runner.schema.json",
"appDomain": "denied"
}