magento / devdocs

[Deprecated] Magento Developer Documentation
Open Software License 3.0
674 stars 1.76k forks source link

Documentation Scenario Tests #517

Closed sjauck closed 7 years ago

sjauck commented 8 years ago

The documentation for the scenario tests is a bit short. ;) https://github.com/magento/devdocs/blob/2.0/guides/v2.0/mtf/mtf_entities/mtf_scenariotest.md Please extend it.

If i understand the 4 lines of documentation correctly it is the right think for module development. The test cases aren´t so effective. :)

dshevtsov commented 8 years ago

Absolutely agree! Now we are working on documentation that relates to injectable tests, because more then 90% tests are injectable. If you want to test your brand new module you can use injectable tests in most cases as well.

Scenario tests are useful when another module impacts to the test flow. For example, when user selects an option that invokes implementation of blocks from another module to the same page. Hope to "extend" the Scenario test documentation soon ;)

sjauck commented 8 years ago

Ok. So we try the injectables. :) I am pleased to see the documentation. :)

And please at some documentation for example test steps. :)

dshevtsov commented 8 years ago

I've created an internal ticket MAGETWO-49081 to resolve this issue.

This topic can help with injectable tests.

And there is an issue about the MTF tutorial that you can track.

sjauck commented 8 years ago

Thx for your feedback.

The topic i already know and use it. :)

The other issue i will read thx. :)

ghost commented 8 years ago

Can we close this?

sjauck commented 8 years ago

@xcomSteveJohnson Yes we can close it. But a final comment will be helpfull if the documentation is online.

ghost commented 8 years ago

Looks like the topic referenced by internal issue MAGETWO-49081 hasn't been created yet. I'll leave this open.

sjauck commented 8 years ago

Thx for your feedback.

ghost commented 7 years ago

Closing.

dshevtsov commented 7 years ago

Added more details to the topic - http://devdocs.magento.com/guides/v2.0/mtf/mtf_entities/mtf_scenariotest.html