SeqWare/seqware — pull request #13 by morgantaschuk (2012-11-06 22:12:19+00:00)
Title: Feature/pipeline plugin integration tests

See https://jira.oicr.on.ca/browse/SEQWARE-1340.

This is the initial version of the pipeline plugin integration tests. I am using the requirements I developed on the wiki in order to write it: https://wiki.oicr.on.ca/display/PIPEDEVAL/2012/10/30/Requirements+for+SeqWare+jar

I tested two plugins: SymLinkFileReporter and Metadata (the plugin, not the DB connector). I wrote all of the tests for both of them, but the following are disabled:
1) A number of 'negative' tests (that test if the plugin fails in accepted ways) in both plugins because they fail. See https://jira.oicr.on.ca/browse/SEQWARE-1332
2) Creating symlinked folders for the SymLink plugin because of concurrency issues. The plugin overwrites the same folder for multiple concurrent queries and it gets confused.

I tested this on the VM and my local machine. My tests all passed, but some other integration tests in seqware-webservice fail.

This is how I'm testing it:

seqware-webservice$ dropdb -U seqware test_seqware_meta_db; mvn clean install -DskipITs=false

And this is the result:

Failed tests: testPost(net.sourceforge.seqware.webservice.resources.tables.SequencerRunResourceTest): Internal Server Error

Tests run: 143, Failures: 1, Errors: 0, Skipped: 0