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

Behat 3 Support #72

Open
5 of 9 tasks
jamescowie opened this issue Sep 5, 2014 · 8 comments
Open
5 of 9 tasks

Behat 3 Support #72

jamescowie opened this issue Sep 5, 2014 · 8 comments
Assignees

Comments

@jamescowie
Copy link
Member

Behat 3 has now been released from some time and offers enhanced functionality for suites of features and other optimisations. We have also created a stand along library for handling fixture generation and management. However we also need to retain a version of BehatMage that supports Behat 2 as Behat 3 is not backwards compatible. The current beta branch is feature/Behat3

My objectives are:

  • Update the extension to support Behat 3
  • Update composer.json with pinned versions of PHPSpec, Behat
  • Ensure module is covered with Behat features and PHPSpecs
  • Remove fixture factory
  • Add MageTest manager as dependency in composer
  • Remove non essential context steps
  • Improve documentation
  • Include examples of usage and patterns for testing Magento ( adapter )
  • Explore possibility for more Page Objects potentially remove from this extension and have stand alone library / extension.
@jamescowie jamescowie self-assigned this Sep 5, 2014
@ciaranmcnulty
Copy link

👍

1 similar comment
@danielkmariam
Copy link

👍

@jamescowie
Copy link
Member Author

Removed adding Manager as a dependency within the extension. However I will provide more examples showing how the manager can be used within the Feature Contexts.

@mikewhitby
Copy link

👍 Out of interest, is there a paticular reason why the composer.json has a version of ~2.4.4 for behat/behat? I ask because it seems like that is forcing behat/mink-extension on to v1.1.4, which does not support adding multiple sessions to allow annotating scenarios in order to run them using sessions. Fairly limited on my behat understanding but it seems this is the case.

@jamescowie
Copy link
Member Author

Hello,

In composer.json I have behat pinned to ~3 and the mink extensions set to use * For mink I should probably look at a major release. The branch to look at for Behat 3 is feature/Behat3 and issues feel free to let me know

@robjstanley
Copy link
Contributor

@jamescowie what happened to MageTest\MagentoExtension\Fixtures? Is the MageTest/Manager now a dependancy in their place?

@aftabnaveed
Copy link

feature/Behat3 would not work, instead I used dev-feature/Behat3 instead, is there any difference between both?

@pufferfishareliars
Copy link

pufferfishareliars commented May 11, 2016

@jamescowie: Currently it looks like composer.json is pinned to 3.0.15 rather than ~3 on the feature/Behat3 branch. Would be nice to be able to upgrade to Behat v3.1 while still using this package if compatible.

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

No branches or pull requests

7 participants