Closed
Description
Environment
Plugin version: 2022-12-beta
OS: Windows 10
Rider 2022.3
Problem
When running Rider without admin privileges, the button "Generate tests" is shown, but no tests appear on click
Cause
In logs the following lines can be found:
13:01:15.646 |I| UnitTestBuilder | JetPool(S) #1:15 | Could not generate tests for $LoopDemo.ArrayUtils.BinarySearch, exception - $System.UnauthorizedAccessException: Access to the path 'C:\Program Files\JetBrains\JetBrains Rider 2022.1.2\jbr\bin\VSharp.tests.41' is denied.
at System.IO.FileSystem.CreateDirectory(String fullPath, Byte[] securityDescriptor)
at System.IO.DirectoryInfo.CreateSubdirectory(String path)
at VSharp.UnitTests..ctor(String outputDir)
at VSharp.TestGenerator.StartExploration(IEnumerable`1 methods, String resultsFolder, coverageZone coverageZone, SearchStrategy searchStrategy, Verbosity verbosity, String[] mainArguments, Int32 timeout)
at VSharp.TestGenerator.Cover(MethodBase method, Int32 timeout, String outputDirectory, Boolean renderTests, SearchStrategy searchStrategy, Verbosity verbosity)
at UtBot.VSharp.VSharpMain.GenerateImpl(GenerateArguments arguments) in /__w/UTBotJava/UTBotJava/utbot-rider/src/dotnet/UtBot/UtBot.VSharp/VSharpMain.cs:line 43
at UtBot.VSharp.VSharpMain.<>c__DisplayClass2_1.<Main>b__2(Lifetime _, GenerateArguments arguments) in /__w/UTBotJava/UTBotJava/utbot-rider/src/dotnet/UtBot/UtBot.VSharp/VSharpMain.cs:line 72
Metadata
Metadata
Assignees
Type
Projects
Status
Done