blob: 3d5eaa2e41dbdf1d7dac3c8a214742d7033d08c9 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2016. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>
JUnit Preferences
</title>
<link rel="stylesheet" href="../../../book.css" charset="ISO-8859-1" type="text/css">
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"> </script>
</head>
<body>
<h1>
JUnit Preferences
</h1>
<p>The
<a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.jdt.junit.preferences)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="Opens the JUnit preference page">
<b>Java &gt; JUnit</b></a> preference page
lets you configure the stack trace filter patterns for JUnit. The patterns are used in the <i>JUnit</i> view to control which entries are visible in stack traces.</p>
<table border="1" cellspacing="0" cellpadding="5" width="600" summary="JUnit settings">
<thead>
<tr>
<th>
<p>Action</p>
</th>
<th>
<p>Description</p>
</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" width="25%">
<p>Add '-ea' to VM arguments when creating a new JUnit launch configuration</p>
</td>
<td valign="top">
<p>If enabled, then JUnit test will be launched with assertions enabled.</p>
</td>
</tr>
<tr>
<td valign="top" width="25%">
<p>Show newly launched test in all JUnit views</p>
</td>
<td valign="top">
<p>By default, a new JUnit test run only shows up in the window where the test was started. Enable this option, if you prefer to see the latest test in all open JUnit views.</p>
</td>
</tr>
<tr>
<td valign="top" width="25%">
<p>Add Filter</p>
</td>
<td valign="top">
<p>Allows to add a custom filter pattern. This action inserts an empty pattern which can be edited.</p>
</td>
</tr>
<tr>
<td valign="top">
<p>Add Class...</p>
</td>
<td valign="top">
<p>Allows to add classes to be filtered. This action opens the <strong>Open Type</strong> dialog to choose a type to be filtered in the stack traces.</p>
</td>
</tr>
<tr>
<td valign="top">
<p>Add Packages...</p>
</td>
<td valign="top">
<p>Allows to add packages to be filtered. This action opens a package selection dialog to choose the packages to be filtered in the stack traces.</p>
</td>
</tr>
<tr>
<td valign="top">
<p>Remove</p>
</td>
<td valign="top">
<p>Removes the currently selected stack trace filter pattern.</p>
</td>
</tr>
<tr>
<td valign="top">
<p>Enable All</p>
</td>
<td valign="top">
<p>Enables all stack trace filter patterns.</p>
</td>
</tr>
<tr>
<td valign="top">
<p>Disable All</p>
</td>
<td valign="top">
<p>Disables all stack trace filter patterns.</p>
</td>
</tr>
</tbody>
</table>
<h3 class="related">Related tasks</h3>
<a href="../../../gettingStarted/qs-junit.htm">Using JUnit</a>
<h3 class="related">Related references</h3>
<a href="../../../reference/ref-dialog-open-type.htm">Open type</a>
</body>
</html>