Closed malclear closed 2 years ago
That's a really weird exception, in particular because that specific line is not doing anything with strings or arrays. Is there a difference between the .NET Core SDK between Rider (under Toolset and Build) and the CLI version?
Looks the same to me. I even changed both projects to build with Net5. Because of the way the problem comes and goes depending on the length of the test class name, I wonder if it's related to the Chill library.
The only way to verify that is to rewrite that specific without Chill. Just to rule out that option.
Did you resolve this issue?
I'm not dealing with this problem any more, though I don't remember finding any resolution to it. And we're using LP successfully!
Using Rider, my project's tests will run fine: all tests are green. But when I run the tests from the command line, using "dotnet test myProject.csproj", then certain tests will get the exception listed below. I'm wondering if there is a known fix for this. Notably, I can often get the tests to pass if I shorten either the test class name, or the test function name. However, it is not limited to this because, often, tests with longer names will pass even though the shorter named tests fail.
(The project itself is "LiquidProjections.Couchbase". More on that later perhaps.) The error is: