dotnet new psmodule --add-tests would create: foo/src/foo.csproj foo/test/foo.Tests.ps1 (opening this so I remember)