Skip to content

Commit

Permalink
Removing some old code; Documenting how to run code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcinZukowski committed Aug 12, 2016
1 parent a3195d4 commit acca392
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 63 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,19 @@ Once these requirements are met, run e.g.

IT_SNOWFLAKE_CONF=$PWD/snowflake.conf build/sbt it:test

#### Running code coverage tests

It's best to use Scala 2.11, as some earlier versions have a bug disallowing
line highlighting.

Example use:

build/sbt -Dscala-2.11 -DSPARK_SCALA_VERSION=2.11.6 clean coverage test
firefox $PWD/target/scala-2.11/scoverage-report/index.html

And with integration tests:

export IT_SNOWFLAKE_CONF=$PWD/snowflake.conf
build/sbt -Dscala-2.11 -DSPARK_SCALA_VERSION=2.11.6 clean coverage test \
"it:test-only com.snowflakedb.spark.snowflakedb.DecimalIntegrationSuite"
firefox $PWD/target/scala-2.11/scoverage-report/index.html

This file was deleted.

0 comments on commit acca392

Please sign in to comment.