Microsoft.TestPlatform.VsTestConsole.TranslationLayer Class which defines additional specifiable parameters for vstest.console.exe Create instance of Create instance of Object of type Environment variables to be set for the process. This will merge the specified entries to the environment variables inherited from the current process. If you wish to provide a full set of environment variables yourself set to false. When set to true (default), all environment variables are inherited from the current process and the entries provided in are merged with that set. When set to false, only the values you provide in are used. Giving you full control of the environment vstest.console is started with. This is only rarely useful and can lead to vstest.console not being able to start at all. You most likely want to use and combine and responses. Trace level for logs. Full path for the log file Port Number for communication vstest.console will need this port number to communicate with this component - translation layer Currently Internal as we are not intentionally exposing this to consumers of translation layer Parent Process ID of the process whose lifetime should dictate the life time of vstest.console.exe vstest.console will need this process ID to know when the process exits. If parent process dies/crashes without invoking EndSession, vstest.console should exit immediately Currently Internal as we are not intentionally exposing this to consumers of translation layer The Discovery Events Handler Converter. Converts the ITestDiscoveryEventsHandler to ITestDiscoveryEventsHandler2 The Discovery Complete Handler. Converts the ITestDiscoveryEventsHandler to ITestDiscoveryEventsHandler2 Handles Raw Message Handles Log Message Handle Discovery Complete Handles Discovery Tests Defines the interface that can manage a process Starts the Process Is Process Initialized True, if process initialized Shutdown Process Raise event on process exit Defines contract to send test platform requests to test host Initializes communication with the vstest.console.exe process. Hosts a communication channel and asynchronously connects to vstest.console.exe. Port number of the hosted server on this side. Waits for the request handler to be connected. Time to wait for connection. True if the handler has connected, false otherwise. Closes the sender. Initializes the extensions while probing additional extension paths. Paths to check for additional extensions. Discovers the tests Sources for discovering tests. Run settings for discovering tests. Options to be passed into the platform. Test session info. Event handler for discovery events. Starts the test run with given sources and criteria. Sources for test run. Run settings for test run. Options to be passed into the platform. Test session info. Event handler for test run events. Starts the test run with given sources and criteria. Test cases to run. Run settings for test run. Options to be passed into the platform. Test session info. Event handler for test run events. Starts the test run with given sources and criteria and a custom launcher. Sources for test run. Run settings for test run. Options to be passed into the platform. Test session info. Event handler for test run events. Custom test host launcher. Starts the test run with given sources and criteria and a custom launcher. Test cases to run. Run settings for test run. Options to be passed into the platform. Test session info. Event handler for test run events. Custom test host launcher. Starts a new test session. Sources for test run. Run settings for test run. Options to be passed into the platform. Event handler for test session events. Custom test host launcher. Stops the test session. Test session info. Test Platform options. Event handler for test session events. Ends the session. Cancels the test run. Aborts the test run. On process exit unblocks communication waiting calls. Cancels the discovery of tests. Asynchronous equivalent of . Asynchronous equivalent of and . Asynchronous equivalent of ITranslationLayerRequestSender.DiscoverTests/>. Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . Provides back all attachments to test platform for additional processing (for example merging). Collection of attachments. Collection of invoked data collectors. RunSettings configuration Enables metrics collection. Events handler. Cancellation token. Controller for various test operations on the test runner. Starts the test runner process and readies for requests. Starts a new test session. The list of source assemblies for the test run. The run settings for the run. The session event handler. A test session info object. Starts a new test session. The list of source assemblies for the test run. The run settings for the run. The test platform options. The session event handler. A test session info object. Starts a new test session. The list of source assemblies for the test run. The run settings for the run. The test platform options. The session event handler. The custom host launcher. A test session info object. Stops the test session. The test session info object. The session event handler. True if the session was successfuly stopped, false otherwise. Stops the test session. The test session info object. Test Platform options. The session event handler. True if the session was successfuly stopped, false otherwise. Initializes the test platform with paths to extensions like adapters, loggers and any other extensions. Full paths to extension DLLs. Starts test discovery. The list of source assemblies for the discovery. The run settings for the discovery. The discovery event handler. Starts test discovery. The list of source assemblies for the discovery. The run settings for the discovery. The test platform options. The discovery event handler. Starts test discovery. The list of source assemblies for the discovery. The run settings for the discovery. The test platform options. The test session info object. The discovery event handler. Cancels the last discovery request. Starts a test run. The list of source assemblies for the test run. The run settings for the run. The run event handler. Starts a test run. The list of source assemblies for the test run. The run settings for the run. The test platform options. The run event handler. Starts a test run. The list of source assemblies for the test run. The run settings for the run. The test platform options. The test session info object. The run event handler. Starts a test run. The list of test cases for the test run. The run settings for the run. The run event handler. Starts a test run. The list of test cases for the test run. The run settings for the run. The test platform options. The run event handler. Starts a test run. The list of test cases for the test run. The run settings for the run. The test platform options. The test session info object. The run event handler. Starts a test run. The list of source assemblies for the test run. The run settings for the run. The run event handler. The custom host launcher. Starts a test run. The list of source assemblies for the test run. The run settings for the run. The test platform options. The run event handler. The custom host launcher. Starts a test run. The list of source assemblies for the test run. The run settings for the run. The test platform options. The test session info object. The run event handler. The custom host launcher. Starts a test run. The list of test cases for the test run. The run settings for the run. The run event handler. The custom host launcher. Starts a test run. The list of test cases for the test run. The run settings for the run. The test platform options. The run event handler. The custom host launcher. Starts a test run. The list of test cases for the test run. The run settings for the run. The test platform options. The test session info object. The run event handler. The custom host launcher. Cancels the last test run. Aborts the last test run. Ends the test session and stops processing requests. Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . See . Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . Asynchronous equivalent of . See . See . Gets back all attachments to test platform for additional processing (for example merging). Collection of attachments. XML processing settings. Indicates that all test executions are done and all data is provided. Enables metrics collection (used for telemetry). Event handler to receive session complete event. Cancellation token. Gets back all attachments to test platform for additional processing (for example merging). Collection of attachments. Collection of invoked data collectors. XML processing settings. Indicates that all test executions are done and all data is provided. Enables metrics collection (used for telemetry). Event handler to receive session complete event. Cancellation token. See . Defines a test session object that can be used to make calls to the vstest.console process. Initializes a new instance of the class. The test session info object. The session event handler. The encapsulated console wrapper. Destroys the current instance of the class. Disposes of the current instance of the class. Disposes of the current instance of the class. Indicates if managed resources should be disposed. Specialized exception for TranslationLayer Initializes a new instance of the TransationLayerException class. The message that describes the error. Initializes a new instance of the TransationLayerException class. The error message that explains the reason for the exception. The exception that is the cause of the current exception. Vstest.console process manager Port number for communicating with Vstest CLI Process Id of the Current Process which is launching Vstest CLI Helps Vstest CLI in auto-exit if current process dies without notifying it Diagnostics argument for Vstest CLI Enables Diagnostic logging for Vstest CLI and TestHost - Optional EndSession timeout Creates an instance of VsTestConsoleProcessManager class. The full path to vstest.console Checks if the process has been initialized. True if process is successfully initialized Call vstest.console with the parameters previously specified Shutdown the vstest.console process Vstest console request sender for sending requests to vstest.console.exe The minimum protocol version that has test session support. Used to cancel blocking tasks associated with the vstest.console process. Initializes a new instance of the class. Initializes a new instance of the class. The communication manager. The data serializer. The test platform event source. An implementation of to invoke test operations via the vstest.console test runner. Path to additional extensions to reinitialize vstest.console Additional parameters for vstest.console.exe Initializes a new instance of the class. Path to the test runner vstest.console.exe. Initializes a new instance of the class. Path to the test runner vstest.console.exe. The parameters to be passed onto the runner process. Initializes a new instance of the class. Defined for testing purposes. Path to the test runner vstest.console.exe. Path to dotnet exe, needed for CI builds. The parameters to be passed onto the runner process. Initializes a new instance of the class. Sender for test messages. Process manager. The parameters to be passed onto the runner process. Performance event source. Helper for process related utilities. Defines a test session that can be used to make calls to the vstest.console process. Gets the underlying test session info object. Starts test discovery. The list of source assemblies for the discovery. The run settings for the discovery. The discovery event handler. Starts test discovery. The list of source assemblies for the discovery. The run settings for the discovery. The test platform options. The discovery event handler. Cancels the last discovery request. Starts a test run. The list of source assemblies for the test run. The run settings for the run. The run event handler. Starts a test run. The list of source assemblies for the test run. The run settings for the run. The test platform options. The run event handler. Starts a test run. The list of test cases for the test run. The run settings for the run. The run event handler. Starts a test run. The list of test cases for the test run. The run settings for the run. The test platform options. The run event handler. Starts a test run. The list of source assemblies for the test run. The run settings for the run. The run event handler. The custom host launcher. Starts a test run. The list of source assemblies for the test run. The run settings for the run. The test platform options. The run event handler. The custom host launcher. Starts a test run. The list of test cases for the test run. The run settings for the run. The run event handler. The custom host launcher. Starts a test run. The list of test cases for the test run. The run settings for the run. The test platform options. The run event handler. The custom host launcher. Stops the test session. True if the session was successfuly stopped, false otherwise. Stops the test session. The session event handler. True if the session was successfuly stopped, false otherwise. Stops the test session. Test Platform options. The session event handler. True if the session was successfuly stopped, false otherwise. Cancels the last test run. Aborts the last test run. Defines a test session that can be used to make async calls to the vstest.console process. Starts test discovery. The list of source assemblies for the discovery. The run settings for the discovery. The discovery event handler. Starts test discovery. The list of source assemblies for the discovery. The run settings for the discovery. The test platform options. The discovery event handler. Cancels the last discovery request. Starts a test run. The list of source assemblies for the test run. The run settings for the run. The run event handler. Starts a test run. The list of source assemblies for the test run. The run settings for the run. The test platform options. The run event handler. Starts a test run. The list of test cases for the test run. The run settings for the run. The run event handler. Starts a test run. The list of test cases for the test run. The run settings for the run. The test platform options. The run event handler. Starts a test run. The list of source assemblies for the test run. The run settings for the run. The run event handler. The custom host launcher. Starts a test run. The list of source assemblies for the test run. The run settings for the run. The test platform options. The run event handler. The custom host launcher. Starts a test run. The list of test cases for the test run. The run settings for the run. The run event handler. The custom host launcher. Starts a test run. The list of test cases for the test run. The run settings for the run. The test platform options. The run event handler. The custom host launcher. Stops the test session. True if the session was successfuly stopped, false otherwise. Stops the test session. The session event handler. True if the session was successfuly stopped, false otherwise. Stops the test session. Test Platform options. The session event handler. True if the session was successfuly stopped, false otherwise. Cancels the last test run. Aborts the last test run. A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. Looks up a localized string similar to Cannot find the console runner {0}.. Looks up a localized string similar to An error occurred when opening the file {0} with arguments {1}.. A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. Looks up a localized string similar to The Start Test Session operation was aborted.. Looks up a localized string similar to The Stop Test Session operation was aborted.. Looks up a localized string similar to The active Test Run Attachments Processing was aborted.. Looks up a localized string similar to The active Tests Discovery was aborted.. Looks up a localized string similar to The active Tests Run was aborted.. Looks up a localized string similar to Failed to receive message from vstest.console process. Looks up a localized string similar to File {0} does not exists. Looks up a localized string similar to vstest.console process exited abnormally.