dotnet / dotnet/efcore

Use CreateTempSubdirectory

Open
#31,269 0 comments 0 reactions 0 assignees View on GitHub
area-test
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

There's a few places in our tests where we create temporary directories. One strategy we use is to create a new temp file, delete it, then create a directory with the same name. Another it to just create a randomly named directory. Instead, we should use the new `Directory.CreateTempSubdirectory`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.