You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently have two different entry points for configuration. One, the Services.Configuration, is used for specifying where to find custom value formatters and which test framework to use, and can be configured through app.config (provided the .NET platform supports that). The other, AssertionOptions, is used to change formatting settings and alter the equivalency plan.
We need one class for this that combines all of these settings, and that all support using the configuration system of .NET. This supports setting them through .ini files, .json files and environment variables.
The proposal is to name this class AssertionEngine, with properties like Runtime to contain run-time settings for the engine and Options for the settings that can be changed by tests.
It would be great if these settings are not static.
When executing tests in parallel they must not influence each other.
I'm not sure what you're asking for?
Currently they are static exactly to be shared and used among tests (running in parallel), but must be configured from a thread-safe point, e.g. module initializer or in a test framework dedicated way.
We currently have two different entry points for configuration. One, the
Services.Configuration
, is used for specifying where to find custom value formatters and which test framework to use, and can be configured throughapp.config
(provided the .NET platform supports that). The other,AssertionOptions
, is used to change formatting settings and alter the equivalency plan.We need one class for this that combines all of these settings, and that all support using the configuration system of .NET. This supports setting them through
.ini
files,.json
files and environment variables.The proposal is to name this class
AssertionEngine
, with properties likeRuntime
to contain run-time settings for the engine andOptions
for the settings that can be changed by tests.Relates to #2290
The text was updated successfully, but these errors were encountered: