Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Integration Test with db:dump --strip #200

Closed
ktomk opened this issue May 22, 2016 · 1 comment
Closed

Add Integration Test with db:dump --strip #200

ktomk opened this issue May 22, 2016 · 1 comment

Comments

@ktomk
Copy link
Collaborator

ktomk commented May 22, 2016

In #199 a miss on actual dump execs came to light. Write one test that creates a dump.sql file that should reflect both stages, that is the table creation only and the table creation and data part (two different mysql commands of which appends to the dumpfile of the first one).

With a blank install on Travis this test should run fast enough. Test could be done for the created file's size with a certain weight.

ktomk added a commit to ktomk/n98-magerun2 that referenced this issue May 23, 2016
ktomk added a commit that referenced this issue May 23, 2016
@ktomk
Copy link
Collaborator Author

ktomk commented May 23, 2016

Test of dump-file by the file-size now in develop:

  • N98\Magento\Command\Database\DumpCommandTest::realDump

@ktomk ktomk closed this as completed May 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant