blob: 696a3e26cd68ff3e09f0f7a0188a53f26f22e3c6 [file] [log] [blame]
Integration Tests
26 Feb 2009
~~Licensed to the Apache Software Foundation (ASF) under one
~~or more contributor license agreements. See the NOTICE file
~~distributed with this work for additional information
~~regarding copyright ownership. The ASF licenses this file
~~to you under the Apache License, Version 2.0 (the
~~"License"); you may not use this file except in compliance
~~with the License. You may obtain a copy of the License at
~~Unless required by applicable law or agreed to in writing,
~~software distributed under the License is distributed on an
~~KIND, either express or implied. See the License for the
~~specific language governing permissions and limitations
~~under the License.
Integration Tests
Integration tests are run on projects that contains the plugin <<<maven-test-plugin>>> under the POM build
Since integration test itself is for testing, the <<<\<testSourceDirectory\>>>> is no longer needed and the
<<<\<sourceDirectory\>>>> is enough to be able to run the project test successfully. This matches the Maven
convention of placing integration tests in a separate module.
The following POM snippet is an example build configuration of an integration test project.
To run the test:
mvn test
Like regular unit tests, the plugin requires that NUnit be installed and on the PATH to execute the tests.