README.testing.txt 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Redis module testing
  2. ====================
  3. Unit tests won't cover the cache backend until the 8.x series.
  4. This won't be fixed, by design. Drupal 8.x now ships a complete cache backend
  5. unit tests suite which will be used when this module will be upgraded.
  6. 7.x testing
  7. ===========
  8. 7.x testing will keep it to the bare minimum and will test some minor bugs such
  9. as admin UI or autoloading related bugs.
  10. Cleanup environment
  11. ===================
  12. php -f scripts/run-tests.sh -- --clean
  13. Run common tests
  14. ================
  15. php -f scripts/run-tests.sh -- --verbose --color \
  16. --url "http://yoursite" \
  17. --class "Redis_Tests_Client_UnitTestCase"
  18. Run all PhpRedis tests
  19. ======================
  20. php -f scripts/run-tests.sh -- --verbose --color \
  21. --url "http://laborange.net" \
  22. --class "Redis_Tests_Cache_PhpRedisFixesUnitTestCase,Redis_Tests_Cache_PhpRedisFlushUnitTestCase,Redis_Tests_Cache_PhpRedisShardedFixesUnitTestCase,Redis_Tests_Cache_PhpRedisShardedFlushUnitTestCase,Redis_Tests_Cache_PhpRedisShardedWithPipelineFixesUnitTestCase,Redis_Tests_Lock_PhpRedisLockingUnitTestCase,Redis_Tests_Path_PhpRedisPathUnitTestCase,Redis_Tests_Queue_PhpRedisQueueUnitTestCase"
  23. Run all Predis tests
  24. ======================
  25. php -f scripts/run-tests.sh -- --verbose --color \
  26. --url "http://yoursite" \
  27. --class "Redis_Tests_Cache_PredisFixesUnitTestCase,Redis_Tests_Cache_PredisFlushUnitTestCase,Redis_Tests_Cache_PredisShardedFixesUnitTestCase,Redis_Tests_Cache_PredisShardedFlushUnitTestCase,Redis_Tests_Cache_PredisShardedWithPipelineFixesUnitTestCase,Redis_Tests_Lock_PredisLockingUnitTestCase,Redis_Tests_Path_PredisPathUnitTestCase"