Metabase Test Package v1.0.0
jwilliams-ocient
released this
17 Nov 21:49
·
27 commits
to master
since this release
Overview
The Metabase Test Package allows environments without clojure or Leiningen dependencies to execute the integration test suite for Metabase drivers.
How to Run
To run the tests:
- Navigate to the
metabase_test
directory - Invoke the test suite with
java -jar metabase.jar $JAVA_ARGS
java Args
There are a handful of system properties and JVM args the test suite will expect to be set. They are:
-Dmb.run.mode=test
-Djava.awt.headless=true
-Dmb.db.in.memory=true
-Dmb.jetty.join=false
-Dmb.field.filter.operators.enabled=true
-Dmb.api.key=test-api-key
-Dmb.jetty.port=3001
-Dmb.test.env.setting=ABCDEFG
-Duser.timezone=UTC
-Dfile.encoding=UTF-8
-Duser.language=en
-Duser.country=US
-Dclojure.main.report=stderr
-XX:-OmitStackTraceInFastThrow
NOTE
A small number of changes to the uberjar build target to run the test suite when
metabase.jar
is invoked instead of the Metabase application. See patch for details.
What's Changed
- feature: dockerize metabase test tarball generation by @jwilliams-ocient in #4
Full Changelog: v0.1.0-rc.2...test-tarball-v1.0.0