Skip to content

Release 2025-02-07 #1972

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 7, 2025
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
11 changes: 0 additions & 11 deletions .autover/changes/1c4eb3ce-e61b-4119-ac8d-d431f7b426cb.json

This file was deleted.

11 changes: 0 additions & 11 deletions .autover/changes/a1844c2a-731e-4bc8-9f67-99982c6447a8.json

This file was deleted.

12 changes: 0 additions & 12 deletions .autover/changes/efa829ed-59af-46eb-a5e5-ef471698c82d.json

This file was deleted.

8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## Release 2025-02-07

### Amazon.Lambda.TestTool (0.0.2-preview)
* Update default log level to be ERROR in production and INFORMATION in debug mode.
* Fix exception method when not setting --api-gateway-emulator-mode
* Breaking change: Switch to use commands to invoke the tool. For example to run the Lambda emulator use the command 'dotnet lambda-test-tool start --lambda-emulator-port 5050'
* Add new info command to get metadata about the tool. For example getting the version number of the tool.

## Release 2025-01-31 #2

### Amazon.Lambda.TestTool.BlazorTester (0.16.1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PackAsTool>true</PackAsTool>
<PackageId>Amazon.Lambda.TestTool</PackageId>
<ToolCommandName>dotnet-lambda-test-tool</ToolCommandName>
<Version>0.0.1-preview</Version>
<Version>0.0.2-preview</Version>
<NoWarn>NU5100</NoWarn>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ public class RunCommandTests
private readonly Mock<IToolInteractiveService> _mockInteractiveService = new Mock<IToolInteractiveService>();
private readonly Mock<IRemainingArguments> _mockRemainingArgs = new Mock<IRemainingArguments>();

#if DEBUG
[Fact]
#else
[Fact(Skip = "Skipping this test as it is not working properly.")]
#endif
public async Task ExecuteAsync_LambdaRuntimeApi_SuccessfulLaunch()
{
// Arrange
Expand All @@ -45,7 +49,11 @@ public async Task ExecuteAsync_LambdaRuntimeApi_SuccessfulLaunch()
Assert.True(isApiRunning);
}

#if DEBUG
[Fact]
#else
[Fact(Skip = "Skipping this test as it is not working properly.")]
#endif
public async Task ExecuteAsync_ApiGatewayEmulator_SuccessfulLaunch()
{
// Arrange
Expand All @@ -70,7 +78,11 @@ public async Task ExecuteAsync_ApiGatewayEmulator_SuccessfulLaunch()
Assert.True(isApiRunning);
}

#if DEBUG
[Fact]
#else
[Fact(Skip = "Skipping this test as it is not working properly.")]
#endif
public async Task ExecuteAsync_EnvPorts_SuccessfulLaunch()
{
var lambdaPort = TestHelpers.GetNextLambdaRuntimePort();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ namespace Amazon.Lambda.TestTool.UnitTests;

public class RuntimeApiTests
{
#if DEBUG
[Fact]
#else
[Fact(Skip = "Skipping this test as it is not working properly.")]
#endif
public async Task AddEventToDataStore()
{
const string functionName = "FunctionFoo";
Expand Down Expand Up @@ -71,7 +75,11 @@ public async Task AddEventToDataStore()
}
}

#if DEBUG
[Fact]
#else
[Fact(Skip = "Skipping this test as it is not working properly.")]
#endif
public async Task InvokeRequestResponse()
{
const string functionName = "FunctionFoo";
Expand Down
Loading