Skip to content

Testcontainers dotnet: store videos for failed tests onto local disc or upload to storage account #787

Answered by HofmeisterAn
ossentoo asked this question in Q&A
Discussion options

You must be logged in to vote

You can use WithBindMount(string, string) to mount a host path into the container. Please note this is considered a bad practice.

Read the file straight from the container with ReadFileAsync(string, CancellationToken) or download it from an HTTP endpoint.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@ossentoo
Comment options

@ossentoo
Comment options

@HofmeisterAn
Comment options

@ossentoo
Comment options

@ossentoo
Comment options

Answer selected by HofmeisterAn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants