Allure.Reqnroll: Culture changed #2931
Unanswered
joelvdberg
asked this question in
Questions & Support
Replies: 1 comment 4 replies
-
|
Hi, @joelvdberg It's always tricky when marshaling gets involved. Could you please create a repo with an example that reproduces the problem? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear all,
We've successfully used Allure and Reqnroll to generate a report. Therefore, we wanted to use it in other project as well. Unfortunately, for one of our projects, we are hitting a hurdle.
Context
Both projects use C#, and Visual Studio or Rider (behavior is the same for both IDE's) and the NUnit framework with Reqnroll. (The same behavior is observed using MSTest.) In this configuration, the tests run fine.
The difference is that the project with the problem calls unmanaged C++ code (using DllImport attributes).
The problem we observed is that memory consumption increased tenfold. This ended up being a symptom rather than the real problem.
Note that the unmanaged dll is responsible for performing a calculation which' performance is influenced greatly by the input that is provided.
Problem
While creating the minimum working example for the performance problem, we found the real issue: running with or without Allure.Reqnroll makes the CurrentInfo.CurrentCulture different, so the Double values in the Table that was provided were interpreted differently, making the input much larger and thus increasing the computational load of the unmanaged dll.
Request
This might now be a question that's better suited for the Reqnroll project, but for me it was unexpected behavior when using Allure. Is there a way to control this behavior?
Kind regards,
Joël
Beta Was this translation helpful? Give feedback.
All reactions