Project:Perl/maint-notes/dev-perl/Cache-Memcached

From Gentoo Wiki
Jump to: navigation, search

Testing

Comprehensive testing requires a manually installed, configured, and started memcached. ( Though the default configuration seems to be OK, but if you've changed this, additional changes may be needed for tests to work )

For ensuring all tests run, first:

Install net-misc/memcached:

root #emerge -va1 net-misc/memcached

Turn on a memcached server:

root #rc-service memcached start

Then run the tests as follows:

root #FEATURES="-network-sandbox test" emerge -va1 dev-perl/Cache-Memcached