testcontainers / testcontainers-dotnet

A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
https://dotnet.testcontainers.org
MIT License
3.65k stars 250 forks source link

Add ClamAV container #1172

Open pbolduc opened 1 month ago

pbolduc commented 1 month ago

What does this PR do?

This PR adds ClamAV container support. It uses the current LTS (1.0.6) version as the default image.

Why is it important?

Having a ClamAV container enables testing client code that depends on ClamAV.

Related issues

n/a

How to test this PR

Build and run the tests container in ClamAvContainerTest in the Testcontainers.ClamAv.Tests project. Two tests validate that a connection can be made to ClamAV and PING and VERSION commands execute correctly.

cd tests/Testcontainers.ClamAv.Tests
dotnet test
netlify[bot] commented 1 month ago

Deploy Preview for testcontainers-dotnet ready!

Name Link
Latest commit 0ef1f7020c2f70fc6fbb4ceeaf644727fb82b800
Latest deploy log https://app.netlify.com/sites/testcontainers-dotnet/deploys/667046e69ffa210008c58173
Deploy Preview https://deploy-preview-1172--testcontainers-dotnet.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.