@@ -13,25 +13,25 @@ Help](https://help.github.com/articles/cloning-a-repository/).
13
13
14
14
Once in the sbt shell you will be able to build and run tests for the
15
15
connector without any Spark or Cassandra nodes running. The integration tests
16
- require [ CCM] ( https://github.com/riptano/ccm ) installed on your machine.
17
- This can be accomplished with ` pip install ccm `
16
+ require a valid path to java home set in the ` JAVA_HOME ` env variable and
17
+ [ CCM] ( https://github.com/riptano/ccm ) to be installed on your machine.
18
+ This can be accomplished with ` pip install ccm ` .
18
19
19
20
The most common commands to use when developing the connector are
20
21
21
22
1 . ` test ` - Runs the the unit tests for the project.
22
- 2 . ` it:test ` - Runs the integration tests with embedded Cassandra and Spark
23
+ 2 . ` it:test ` - Runs the integration tests with Cassandra (started by CCM) and Spark
23
24
3 . ` package ` - Builds the project and produces a runtime jar
24
25
4 . ` publishM2 ` - Publishes a snapshot of the project to your local maven repository allowing for usage with --packages in the spark-shell
25
26
26
27
The integration tests located in ` connector/src/it ` should
27
28
probably be the first place to look for anyone considering adding code.
28
29
There are many examples of executing a feature of the connector with
29
- the embedded Cassandra and Spark nodes and are the core of our test
30
- coverage.
30
+ Cassandra and Spark nodes and are the core of our test coverage.
31
31
32
32
### Merge Path
33
33
34
- b2.5 => b3.0 => Master
34
+ b2.5 => Master
35
35
36
36
New features can be considered for 2.5 as long as they do not break apis
37
37
In general 3.0 should be the target for new features
@@ -68,7 +68,7 @@ listed in build.yaml. In addition the test-support module supports Cassandra
68
68
or other CCM Compatible installations.
69
69
70
70
If using SBT you can set
71
- ` CCM_CASSANDRA_VERSION ` to propagate a version for CCM to use during tests
71
+ ` CCM_CASSANDRA_VERSION ` to propagate a version for CCM to use during tests.
72
72
73
73
If you are running tests through IntelliJ or through an alternative framework (jUnit)
74
74
set the system property ` ccm.version ` to the version you like.
0 commit comments