This plugin provides support for TRX test result files in JetBrains Rider. It allows to import TRX files as unit test sessions, making it easier to work with test results directly within the IDE.
- Import TRX Files: Import TRX files directly from the file editor or project view context menu.
- Unit Test Session Creation: Automatically creates a unit test session based on the TRX file.
- Tree View for Test Results: View test results in a tree structure for better organization and clarity.
- Default Grouping by Namespaces: The plugin sets default grouping by namespaces, which can be adjusted in the unit test sessions tool window.
- Support for Output and Errors: Displays standard output, error information, and error stack traces.
- Test Duration: Includes support for displaying test duration.
You can install the TRX Files Support plugin directly from the JetBrains Plugin Repository or via the plugins section inside your JetBrains Rider IDE.
- Open your IDE.
- Navigate to
File | Settings | Plugins
(orJetBrains Rider | Preferences | Plugins
on macOS). - Search for "TRX Files Support" and install the plugin.
After installation, the plugin will be available for use without requiring any additional configuration.
Alternatively, visit the Plugin Marketplace and follow the instructions.
To use the TRX Support Plugin, there are 4 options:
-
Context Menu:
- Right-click on a TRX file in the file editor or project view.
- Select
Import TRX as Unit Test Session
from the context menu. - The test results will be displayed in a newly created unit test session.
-
Editor Banner:
- When you open a TRX file in the editor, a banner will appear at the top of the editor.
- Click the
Import
button in the banner. - This will also create a new unit test session and display the test results.
-
Main Menu Tests Tab:
- Navigate to the Tests tab in the main menu.
- Select
Import TRX...
- Choose the TRX file you wish to import.
- A new unit test session will be created, and the test results will be displayed.
-
Drag and Drop:
- Drag a TRX file from your file explorer and drop it directly into the editor.
- This will create a new unit test session without opening the file.
We are very grateful to the initial developers of the plugin: