anchor.diff:  
   The simplest way to add integration tests to your build is by taking these steps:
   
  - 1. Create a new source set for them
  + 1. Create a new <<sec:java_source_sets,source set>> for them
    2. Add the dependencies you need to the appropriate configurations for that source set
    3. Configure the compilation and runtime classpaths for that source set
    4. Create a task to run the integration tests
   
   You may also need to perform some additional configuration depending on what form the integration tests take. We will discuss those as we go.
   
  -Let's start with a practical example that implements the first three steps in a build script, centred around a new source set `intTest`:
  +Let's start with a practical example that implements the first three steps in a build script, centered around a new source set `intTest`:
   
   ++++
   <sample id="practicalIntegTest" dir="userguide/java/basic" title="Setting up working integration tests">
  
positive.code: 
  This excludes the `test` task and any other task that it _exclusively_ depends on, i.e. no other task depends on the same task. Those tasks will not be marked "SKIPPED" by Gradle, but will simply not appear in the list of tasks executed.
  
  Skipping a test via the build script can be done a few ways. One common approach is to make test execution conditional via the `onlyIf()` method. The following sample skips the `test` task if the project has a property called `mySkipTests`:
  
  ++++
  <sample id="skipTestsInBuildScript" dir="userguide/java/basic" title="Skipping the unit tests based on a project property">
  
negative.code: </sample>
  ++++
  
  The api:org.gradle.api.tasks.testing.Test[] task has many generic configuration options as well as several framework-specific ones that you can find described in api:org.gradle.api.tasks.testing.junit.JUnitOptions[], api:org.gradle.api.tasks.testing.junitplatform.JUnitPlatformOptions[] and api:org.gradle.api.tasks.testing.testng.TestNGOptions[]. We cover a significant number of them in the rest of the chapter.
  
  If you want to set up your own `Test` task with its own set of test classes, then the easiest approach is to create your own source set and `Test` task instance, as shown in _<<sec:configuring_java_integration_tests,Configuring integration tests>>_.
  
  