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

Use .NET Testcontainers for integration tests #23

Merged

Conversation

tvandinther
Copy link
Owner

@tvandinther tvandinther commented Feb 24, 2024

Resolves #16

Integration tests for remote database connections with libsql-server moved from using docker-compose to using the test containers library which allows programmatic creation of containers with C# codes as test fixtures.

This PR also introduces changes for the test runner to skip tests using containers if the test platform is not Linux. This is set for the Github Actions runners which do not support Linux virtualisation yet on either Windows or macOS.

@tvandinther tvandinther self-assigned this Feb 24, 2024
@tvandinther tvandinther linked an issue Feb 24, 2024 that may be closed by this pull request
@tvandinther tvandinther marked this pull request as ready for review February 24, 2024 15:23
@tvandinther tvandinther added bug Something isn't working enhancement New feature or request labels Feb 24, 2024
@tvandinther tvandinther merged commit dc06e69 into master Mar 1, 2024
6 checks passed
@tvandinther tvandinther deleted the 16-fix-integration-tests-for-macos-and-windows-runners branch March 1, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix integration tests for MacOS and Windows runners
1 participant