When you clone the repo and try to run only the Zend Lucene tests (vendor/bin/behat --suite=zend_lucene) you end up with many same errors:
There is no search mapping for object with class "Massive\Bundle\SearchBundle\Tests\Resources\TestBundle\Entity\Product" (Massive\Bundle\SearchBundle\Search\Exception\MetadataNotFoundException)
This happens because MassiveSearchExtension on line 123 checks whether the massive-search exists, which doesn't. Also, directory Entity doesn't exist.
The traviscl tests run fine because they're executed in order where vendor/bin/phpunit --coverage-text is run first. As a side effect it creates also massive-search and Entity directories and doesn't remove them when it finishes (which it probably should).
When you clone the repo and try to run only the Zend Lucene tests (
vendor/bin/behat --suite=zend_lucene
) you end up with many same errors:This happens because MassiveSearchExtension on line 123 checks whether the
massive-search
exists, which doesn't. Also, directoryEntity
doesn't exist.The traviscl tests run fine because they're executed in order where
vendor/bin/phpunit --coverage-text
is run first. As a side effect it creates alsomassive-search
andEntity
directories and doesn't remove them when it finishes (which it probably should).To see how it fails run:
To execute the tests properly run: