![]() This feature is only available for Git and Mercurial. When you want to check that your changes wouldn't break the code before pushing them, you can do that by running tests as commit checks. For more information on how to analyze test results, refer to Explore test results. For more information, refer to Run/debug configurations.Ĭreate a new run configuration or save a temporary one.įrom the list on the main toolbar, select the configuration you want to run.Įnable the Pin Tab option on the Run toolbar to open the results of each test run in a separate tab.Īfter IntelliJ IDEA finishes running your tests, it shows the results in the Run tool window on the Test Runner tab. ![]() You can save temporary run configurations, change their settings, share them with other members of your team. When you run a test, IntelliJ IDEA creates a temporary run configuration. To run all tests in a folder, select this folder in the Project tool window and press Ctrl+Shift+F10 or select Run Tests in 'folder' from the context menu. The gutter icon changes depending on the state of your test: Alternatively, click the gutter icon next to the test class or test method. Place the caret at the test class to run all tests in that class, or at the test method, and press Ctrl+Shift+F10. If your tests don't require any specific actions before start and you don't want to configure additional options, such as code coverage, you can run them by using the following options: ![]()
0 Comments
Leave a Reply. |