lugensa / scorched

Sunburnt offspring solr client
MIT License
27 stars 19 forks source link

Scorched

Scorched is a sunburnt offspring and like all offspring it tries to make things better or at least different.

Git Repository and issue tracker: https://github.com/lugensa/scorched

Documentation: http://scorched.readthedocs.org/en/latest/

.. |travisci| image:: https://travis-ci.org/lugensa/scorched.png .. _travisci: https://travis-ci.org/lugensa/scorched

.. image:: https://coveralls.io/repos/lugensa/scorched/badge.png :target: https://coveralls.io/r/lugensa/scorched

|travisci|_

.. _Solr : http://lucene.apache.org/solr/ .. _Lucene : http://lucene.apache.org/java/docs/index.html

Following some major differences:

Local testing

We changed to pytest and pytest-docker to spin-off the tests.

The account on your os under which you run the tests should have permissions to start docker processes.

First checkout the sources::

https://github.com/lugensa/scorched.git

Now use tox for testing::

cd scorched tox

Additionally use pytest directly::

cd scorched python3.10 -mvenv . ./bin/pip install -e .[test] ./bin/pytest ./scorched

Running the tests will start a solr-8.11.1 in docker (see scorched/tests/docker-compose.yml).