Skip to content
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

chore(deps): bump TestContainers from 2.4.0 to 3.0.0 #498

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 8, 2023

Bumps TestContainers from 2.4.0 to 3.0.0.

Release notes

Sourced from TestContainers's releases.

3.0.0

What's Changed

We have added and replaced the modules mentioned below. Each module contains its own builder and configuration type, making it much easier to support various test cases. Currently, the modules are designed to quickly spin up common configurations of real dependencies to establish a connection to the application or service running inside it.

We are interested in your opinions and requirements in regards of the module's capabilities. Creating great modules is a community effort, so please consider sharing your thoughts with us and other Testcontainers users in this discussion or in our Slack workspace.

We will continuously add module features and documentation. Currently, information on how to configure and run modules can be found in the tests. If you are already familiar with Testcontainers, you should have no trouble understanding it as the experience is very similar as before. Here is a quick example using xUnit.net:

public sealed class ModuleSupport : IAsyncLifetime
{
    private readonly MsSqlContainer _msSqlContainer = new MsSqlBuilder().Build();
public Task InitializeAsync()
{
    return _msSqlContainer.StartAsync();
}
public Task DisposeAsync()
{
return _msSqlContainer.DisposeAsync().AsTask();
}
[Fact]
public void ConnectionStateReturnsOpen()
{
// Given
using DbConnection connection = new SqlConnection(_msSqlContainer.GetConnectionString());
// When
connection.Open();

// Then
Assert.Equal(ConnectionState.Open, connection.State);

}

}

⚠️ Breaking Changes

Old name New name
ITestcontainersContainer, IDockerContainer, IRunningDockerContainer IContainer
IDockerImage IImage

... (truncated)

Commits
  • b3fb3cc fix: Skip package and continue with the next package if the same version alre...
  • 0d40ab0 feat: Prepare next release cycle (3.0.0) (#820)
  • ebedc9a docs: Add best practices (#816)
  • 87b7505 fix: InvalidOperationException when adding future volume (#817)
  • 9a5531f feat: Sign assemblies with a strong name (#815)
  • a1e14cb feat: Add SQL Edge module (#812)
  • 6688b92 chore!: Remove legacy WithCreateParameterModifier(Action<CreateContainerParam...
  • e5baa89 chore!: Remove legacy IDockerImage (#808)
  • dd0da73 docs: Add community links (#807)
  • 7470d41 docs: Update Testcontainers for Node docs link
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [TestContainers](https://github.com/testcontainers/testcontainers-dotnet) from 2.4.0 to 3.0.0.
- [Release notes](https://github.com/testcontainers/testcontainers-dotnet/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-dotnet/blob/develop/CHANGELOG.md)
- [Commits](testcontainers/testcontainers-dotnet@2.4.0...3.0.0)

---
updated-dependencies:
- dependency-name: TestContainers
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from ChrisKujawa as a code owner March 8, 2023 18:58
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 8, 2023
@ChrisKujawa ChrisKujawa merged commit dfff550 into main Mar 31, 2023
@ChrisKujawa ChrisKujawa deleted the dependabot/nuget/TestContainers-3.0.0 branch March 31, 2023 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant