Hi

I am trying to setup a testing environment, which is running tests
incrementally based on changed files, instead of running whole builds.

I would like to try this for Lucene/Solr, hence I am trying to
understand better the relationship between individual code changes and
associated tests. For example I have noticed to the following change:

git diff --name-only 641ed06..cb4fc89
lucene/core/src/java/org/apache/lucene/codecs/compressing/CompressingStoredFieldsFormat.java

and if I understand correctly, then the following tests would have to be 
executed:

lucene/core/src/test/org/apache/lucene/codecs/compressing/TestCompressingStoredFieldsFormat.java
lucene/test-framework/src/java/org/apache/lucene/codecs/compressing/CompressingCodec.java

is that correct?

I have also noticed the following changes

git diff --name-only 641ed06..cb4fc89
solr/cloud-dev/clean.sh
solr/cloud-dev/cli-test-solrcloud-start.sh
solr/cloud-dev/functions.sh
solr/cloud-dev/solrcloud-extzk-start.sh
solr/cloud-dev/solrcloud-multi-start.sh
solr/cloud-dev/solrcloud-start-existing.sh
solr/cloud-dev/solrcloud-start.sh
solr/cloud-dev/stop.sh

I guess there are no automatic tests for these changes, but somebody would have 
to manually test the changes of these
scripts, right?


Thanks in advance for helping me to try to better understand this.

Michael



Reply via email to