mirror of https://github.com/apache/druid.git
updates
This commit is contained in:
parent
75c578ae33
commit
0366192554
|
@ -27,7 +27,7 @@ README
|
|||
.pmdruleset.xml
|
||||
.java-version
|
||||
integration-tests/gen-scripts/
|
||||
/bin/
|
||||
**/bin/
|
||||
*.hprof
|
||||
**/.ipynb_checkpoints/
|
||||
website/.yarn/
|
||||
|
|
|
@ -28,13 +28,13 @@ OPTS+=" -Dsurefire.rerunFailingTestsCount=0"
|
|||
OPTS+=" -Dorg.slf4j.simpleLogger.log.org.apache.maven.plugin.surefire.SurefirePlugin=INFO"
|
||||
[[ $@ =~ "-q" ]] && OPTS+=" -Dsurefire.trimStackTrace=true"
|
||||
|
||||
OPTS+=" -pl sql -Dtest=SqlQuidemTest"
|
||||
OPTS+=" -pl quidem-it -Dtest=QTest"
|
||||
OPTS+=" org.apache.maven.plugins:maven-surefire-plugin:test"
|
||||
|
||||
case "$1" in
|
||||
-h|--help)
|
||||
cat << EOF
|
||||
Run SqlQuidemTest tests.
|
||||
Run QTest tests.
|
||||
-q quiet (recommened)
|
||||
-Dquidem.overwrite enables overwrite mode
|
||||
-Dquidem.filter=*join* runs only tests matching path expression
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
|
||||
# Quidem IT
|
||||
|
||||
Enables to write sql level tests easily.
|
||||
Can be used to write tests against existing test backends (ComponentSupplier) - by doing so the testcases can be moved closer to the excercised codes.
|
||||
|
||||
## Usage
|
||||
|
||||
### Running these checks
|
||||
|
||||
* CI execution happens by a standard JUnit test `QTest` in this module
|
||||
* the `dev/quidem` script can be used to run these tests (after the project is built)
|
||||
|
||||
### Launching a test generating Broker
|
||||
|
||||
* make sure to build the project first; one way to do that is:
|
||||
```
|
||||
mvn install -pl quidem-it/ -am -DskipTests -Pskip-static-checks
|
||||
```
|
||||
* launch the broker instance with:
|
||||
```
|
||||
mvn exec:exec -pl quidem-it -Dquidem.url=
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### usage:
|
||||
|
||||
*
|
||||
|
|
@ -40,6 +40,9 @@
|
|||
</repository>
|
||||
</repositories>
|
||||
|
||||
<properties>
|
||||
<quidem.uri>druidtest:///</quidem.uri>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.amazonaws</groupId>
|
||||
|
@ -438,6 +441,11 @@
|
|||
<artifactId>easymock</artifactId>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.reflections</groupId>
|
||||
<artifactId>reflections</artifactId>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- Tests -->
|
||||
|
|
Loading…
Reference in New Issue