restx/restx — pull request #80 by lucaspouzac (2014-04-02 12:07:28+00:00)
Title: Support embed mongo

Usage
```java
package org.jmeter.reporting.rest;

import org.junit.runner.RunWith;

import restx.jongo.specs.tests.MongoRestxSpecTestsRunner;
import restx.tests.FindSpecsIn;

@RunWith(MongoRestxSpecTestsRunner.class)
@FindSpecsIn("specs/sample")
public class SampleResourceSpecTest {

}
```
If you would like use a specific version of mongo, use `@MongoVersion` :
```java
package org.jmeter.reporting.rest;

import org.junit.runner.RunWith;

import de.flapdoodle.embed.mongo.distribution.Version;
import restx.jongo.specs.tests.MongoRestxSpecTestsRunner;
import restx.jongo.specs.tests.MongoVersion;
import restx.tests.FindSpecsIn;

@RunWith(MongoRestxSpecTestsRunner.class)
@FindSpecsIn("specs/sample")
@MongoVersion(Version.Main.V2_2)
public class SampleResourceSpecTest {

}
```
add `-Dhttp.proxyHost=host -Dhttp.proxyPort=port` in your jvm argument if you are behind a proxy to download MongoDB