Possibility to work on the unit test database #107

Closed
amenk opened this Issue Apr 4, 2013 · 3 comments

Comments

Projects
None yet
2 participants
Contributor

amenk commented Apr 4, 2013

When using EcomDev_PHPUnit there is a local.xml.phpunit - it would be nice to have a magerun switch to use that file.

So we could use

n98-magerun.phar --testdb db:console

or all the other commands to inspect the unit test environment.

Owner

cmuench commented Apr 4, 2013

I don't know if i wan't to use the EcomDev_PHPUnit module in n98-magerun. It's designed to test Magento modules.
Please note that i have a running test system on travis server.
The test runner will run all commands on a real magento test instance. So it's a livetest without any mocks. Currently i'm not missing anything. What's the big advantage to change the test system?

Contributor

amenk commented Apr 4, 2013

I think there is a misunderstanding: I do not want to use the EcomDev_Module in n98-magerun module, just a shortcut to also parse it's config file to use magerun for debugging purposes on the test database which EcomDev_PHPUnit uses during tests

Owner

cmuench commented Apr 4, 2013

ok, but i don't think it's a good idea. EcomDev runs many cleanups after a test. If we use the same DB this could cause issues.

cmuench closed this Apr 26, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment