Differences between revisions 4 and 5
Revision 4 as of 2016-01-02 04:23:14
Size: 788
Revision 5 as of 2017-03-24 00:08:51
Size: 1094
Comment: Added info about single integration test running
Deletions are marked like this. Additions are marked like this.
Line 24: Line 24:
To run a single integration test: {{{mvn verify -Dit.test=BundleIT -Dtest=non-existing-test -DfailIfNoTests=false}}},
to run integration test building only relevant part command like {{{mvn -am -pl tika-bundle verify -Dit.test=BundleIT -Dtest=non-existing-test -DfailIfNoTests=false}}} could be used.


To checkout trunk:

Using Git

Pending a VOTE

This page will become valid if the VOTE for Apache Tika to move to using Git passes.

git clone https://git-wip-us.apache.org/repos/asf/tika.git

(Deprecated) Old Method using SVN

svn checkout https://svn.apache.org/repos/asf/tika/trunk tika.trunk.

If you prefer git, you can clone repo mirror from github: git clone https://github.com/apache/tika.git.

To run all tests: mvn test

To run a single test: mvn test -Dtest=RTFParserTest -DfailIfNoTests=false

To run a single integration test: mvn verify -Dit.test=BundleIT -Dtest=non-existing-test -DfailIfNoTests=false, to run integration test building only relevant part command like mvn -am -pl tika-bundle verify -Dit.test=BundleIT -Dtest=non-existing-test -DfailIfNoTests=false could be used.

Maven (Surefire plugin) by default suppresses the stack trace when you hit a failure; if you want to see it add -Dsurefire.useFile=false to the command-line.

DeveloperResources (last edited 2017-03-24 00:08:51 by KonstantinGribov)