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 PHP7, phpspec 3 and Behat 3 support #96

Open
wants to merge 146 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
96b037b
Merge branch 'master' into develop
Nov 8, 2012
4f77729
Add EAV attributes to the product fixture
Nov 8, 2012
6917e5d
Removed set of array key
Nov 11, 2012
81d4219
BehatMage users will have a license copy provided with the source code
debo Apr 9, 2013
6ca2fb4
BehatMage users will see licensing details also in the README file
debo Apr 9, 2013
ff2677b
BehatMage users will find a proper licensing notice in every relevant…
debo Apr 9, 2013
9743210
Merge pull request #13 from MageTest/feature/licensing
debo Apr 9, 2013
8eef258
Remove ClassGuesser as it is too early for one
everzet Apr 15, 2013
a54a4d8
Cleanup MagentoContext step definitions
everzet Apr 15, 2013
bbbe9bd
Remove spec leftover from ClassGuesser
everzet Apr 15, 2013
9f316aa
Remove BeforeScenarioListener
everzet Apr 15, 2013
600ad97
Remove unneded service definitions from container config
everzet Apr 15, 2013
c1d2f1d
Empty registry after fixture clearing
everzet Apr 15, 2013
7f8ba8c
Remove controller from copy/paste
debo Apr 15, 2013
6eebcbd
BehatMage users will be able to also pull upcoming Behat minor versio…
debo May 2, 2013
c77d781
Users will have loose PHP version constraint
debo May 2, 2013
781d85a
Users are provided with a clear step by step guide to show them how t…
debo May 2, 2013
0045bd9
Users are provided with a clear step by step guide to show them how t…
debo May 2, 2013
1eb3d68
Merge pull request #14 from MageTest/cleanup
debo May 2, 2013
c04ea15
Users are provided with a clear step by step guide to show them how t…
debo May 8, 2013
6958c36
Users are provided with a clear step by step guide to show them how t…
debo May 8, 2013
550b49f
Users are provided with a clear step by step guide to show them how t…
debo May 8, 2013
93c8ae6
Merge pull request #15 from MageTest/cleanup
debo May 8, 2013
334ba05
As a member of the community interested in BehatMage I want to know
debo May 16, 2013
65eddf0
Community members should know who is behind the project in order to
debo May 16, 2013
36d4b15
Add some dir structure context so newcomers can follow the examples m…
Vinai May 21, 2013
dd9ba71
Clean up admin route matching
Vinai May 21, 2013
7207180
Typo: fixtures -> fixture
Vinai May 21, 2013
803265d
Improve the process of clearing the cache.
Vinai May 21, 2013
dbe2cec
Fix offsets in regex match
Vinai May 21, 2013
6900a89
MagentoAwareInterface concerns should be separated from steps definition
debo May 21, 2013
617f123
Add layout cache service and remove unused namespaces
Vinai May 21, 2013
822dc46
Use passed route identifier for admin route request
Vinai May 21, 2013
bfe3e22
Add customerLogin and customerLogout service methods
Vinai May 21, 2013
df09308
Add public getter for sessionService
Vinai May 21, 2013
c66c8c4
Add additional step regex to iLoginAsAdmin
Vinai May 21, 2013
d83b9d3
Add iLogInAsCustomerWithPassword step
Vinai May 21, 2013
8010f7e
Add $this->locatePath() to iAmOn() step
Vinai May 21, 2013
2579448
Merge pull request #21 from Vinai/admin-route-matching
May 23, 2013
1d3d046
Merge pull request #22 from Vinai/fixture-factory-fix
May 23, 2013
84916f3
Update Session.php
Vinai May 23, 2013
f1f733f
Moved suggested location of features/ to project directory
Vinai May 24, 2013
278070b
Merge pull request #20 from Vinai/readme-improvements
debo May 24, 2013
053bb4e
Update phpspec and configure travis
May 24, 2013
6b29943
Add travis status image
May 24, 2013
478538f
Merge pull request #26 from MageTest/feature/travis
Jun 3, 2013
2c0677c
Merge pull request #25 from Vinai/context-improvements
Jun 3, 2013
b335a80
Merge pull request #23 from Vinai/improve-cache-service
Jun 3, 2013
3a3c4c0
Ongoing refactoring
debo Jun 25, 2013
4898a5c
PageObjecrt extension should be added to BehatMage dependencies
debo Jun 25, 2013
d919f10
inherit Mink for getSession and co commands to work
Jun 25, 2013
87b0aad
publicise getPage for usage in subcontexts
Jun 25, 2013
786a2ef
remove method as it conflicts with visit() from Mink
Jun 25, 2013
33a0e44
Merge pull request #28 from svalaskevicius/feature/refactor
debo Jun 25, 2013
86b3dba
create products with websites assigned
Jul 4, 2013
8373147
implement new customer and address fixtures
Jul 26, 2013
7d92aeb
fix fixture factory for admin user
Jul 26, 2013
a65f294
Cleanup and refactor fixtures
Jul 26, 2013
aa32525
Fix namespace missmatch
Jul 26, 2013
acde2b9
Fix how product fixtures are created in RawMagentoContext and stock_d…
Jul 30, 2013
5b06177
Merge pull request #31 from mkilmanas-inviqa/feature/customer_and_add…
debo Jul 30, 2013
da1de13
Merge pull request #30 from mkilmanas-inviqa/feature/fix_product_fixt…
debo Jul 30, 2013
b72d455
Implement Order fixture and enable it in FixtureFactory
Jul 30, 2013
a08cc2a
Add validation of the route before visiting
Oct 9, 2013
c04aaee
Correct path and add alternate suggestion for CMS path
Oct 9, 2013
f632efe
Fix typo
Oct 9, 2013
9fd1212
Merge pull request #33 from MageTest/feature/enhanced-route-excpetion
Oct 9, 2013
ca7b245
Add Category Fixture and minor tweaks to other fixtures
Oct 14, 2013
aa6723c
Fix defect in iAmOn method
Oct 15, 2013
f400055
Fix extension specs
Oct 16, 2013
567892d
Merge pull request #34 from mkilmanas-inviqa/feature/add-category-fix…
Nov 4, 2013
79335a9
Merge branch 'develop' into feature/refactor
debo Dec 19, 2013
a7852d5
Add product to all websites in order to make is visible
Mar 14, 2014
04685bd
Don't add stock_data attribute if is_in_stock was not specified
Mar 14, 2014
d2cf871
Merge pull request #40 from jon-acker/product-fixture-use-default-sto…
debo Mar 20, 2014
3e04d0b
Update extension to work with behat3
Apr 3, 2014
4bfd1c2
restore to original file
Apr 3, 2014
041d428
When logging in as admin set default store id to admin
Apr 3, 2014
0501e94
Restore formatting default option for behat3
Apr 3, 2014
9c33bf9
Merge pull request #42 from jon-acker/feature/upgrade-to-behat-three
debo Apr 3, 2014
0af1918
Merge pull request #39 from jon-acker/product-fixture-factory-not-add…
debo Apr 3, 2014
026436f
Merge branch 'feature/refactor' into develop
debo Apr 23, 2014
b33cce2
Update Session.php
robjstanley May 14, 2014
a126bd7
Add include paths to composer.json
walterdolce Jun 24, 2014
ba1aa98
Merge pull request #48 from walterdolce/feature/add-include-paths-to-…
jamescowie Jun 24, 2014
d119283
Refactor Product fixture, introduce helpers
walterdolce Jun 24, 2014
e47f383
Refactor Product fixture
walterdolce Jun 24, 2014
c0b000c
Refactor Website helper
walterdolce Jun 25, 2014
4630311
Refactored Website helper, Product & ProductSpec
walterdolce Jun 25, 2014
4ee0146
Merge pull request #49 from walterdolce/feature/refactor-product-fixt…
alistairstead Jun 25, 2014
902d993
Merge pull request #44 from robjstanley/patch-1
alistairstead Jun 25, 2014
65e24d3
Fix bad method call in product fixture
walterdolce Jun 27, 2014
d1950aa
Merge pull request #50 from walterdolce/hotfix/fix-bad-method-call-in…
jamescowie Jun 27, 2014
c759efd
Fix bad method call in Website helper
walterdolce Jun 30, 2014
d252622
Merge pull request #51 from walterdolce/hotfix/fix-bad-method-call-in…
jamescowie Jun 30, 2014
c2d866e
Refactor Customer fixture
walterdolce Jul 1, 2014
a51d2a6
Merge pull request #53 from walterdolce/feature/refactor-customer-fix…
jamescowie Jul 1, 2014
e2f7a48
Add created at to all products created
jamescowie Jul 1, 2014
cd0b186
Update specs to enable mocking
jamescowie Jul 1, 2014
3a62891
Merge pull request #54 from MageTest/feature/fix-date-issue-for-produ…
alistairstead Jul 2, 2014
31b5e78
Fixtures now injected into Factory and maintain state
Jul 1, 2014
1e8af08
Merge pull request #52 from MageTest/feature/exceptions-thrown-from-f…
jamescowie Jul 3, 2014
3e20be3
Add media gallery to product fixture with updated product spec
jamescowie Jul 3, 2014
dd34316
Update array in spec to be full syntax for previous versions of PHP
jamescowie Jul 3, 2014
f6a04b5
Prevent fixture from creating an empty product.
robjstanley Jul 4, 2014
c1f4ce3
Add created at and resolve specs
jamescowie Jul 4, 2014
42a5b9c
Merge pull request #56 from robjstanley/patch-3
alistairstead Jul 5, 2014
0f64659
Exception is thrown if sku is missing in data grid
Jul 5, 2014
067d68a
Merge pull request #58 from MageTest/feature/created-at-fix
alistairstead Jul 5, 2014
e4005ff
Merge pull request #59 from MageTest/feature/exception-thrown-if-sku-…
jamescowie Jul 5, 2014
3b2772f
FixtureFactory now correctly called from MagentoContext
Jul 5, 2014
5c006ea
Merge pull request #60 from MageTest/feature/spec-magento-context-use…
jamescowie Jul 5, 2014
eae3d73
Merge branch 'develop' into feature/Product-image-fixture
jamescowie Jul 5, 2014
227c020
Move image asset processing into private method
jamescowie Jul 5, 2014
8886670
Merge pull request #55 from MageTest/feature/Product-image-fixture
alistairstead Jul 5, 2014
ae15495
Add scrutinizer config
Jul 5, 2014
297f022
Scrutinizer Auto-Fixes
scrutinizer-auto-fixer Jul 5, 2014
379f8e6
Merge pull request #61 from alistairstead/scrutinizer-patch-1
jamescowie Jul 8, 2014
e9ca5a4
[WIP] Update to Behat3
jamescowie Sep 5, 2014
6f74708
Address fixture removed
marek-pietrzak-tg Sep 9, 2014
ba1cb2b
Category fixture removed
marek-pietrzak-tg Sep 9, 2014
15b605e
Customer fixture removed
marek-pietrzak-tg Sep 9, 2014
ac4b549
Order fixture removed
marek-pietrzak-tg Sep 9, 2014
098a62f
Product fixture removed
marek-pietrzak-tg Sep 9, 2014
0083a95
User fixture removed
marek-pietrzak-tg Sep 9, 2014
c1bc285
FixtureFactory, FixtureInterface removed
marek-pietrzak-tg Sep 9, 2014
ab8d7a7
FixtureFactory calls removed, AfterScenarioListener removed
marek-pietrzak-tg Sep 9, 2014
432bd6e
Merge pull request #73 from mheki/feature/Behat3-removing-fixtures
Sep 11, 2014
6401a8a
Update composer versions
jamescowie Sep 11, 2014
95ae87d
Extend RawMinkContext rather than MinkContext
mlopes Sep 18, 2014
6ff34fe
Merge pull request #74 from mlopes/feature/Behat3
debo Sep 18, 2014
ef23db2
Update mink deps
jamescowie Apr 30, 2015
0329a5e
Update mink deps
jamescowie Apr 30, 2015
c8c9c8e
Remove page objects
jamescowie Apr 30, 2015
f6488fd
Pin behat
jamescowie Apr 30, 2015
afc90aa
Pin behat
jamescowie Apr 30, 2015
6ebfbb0
Support all Behat 3 minor releases
andytson-inviqa Aug 9, 2016
9a5b75b
Merge pull request #90 from andytson-inviqa/patch-1
ubick Jul 31, 2017
76b6337
Update to phpspec 3 and fix specs
ubick Aug 2, 2019
e8267ab
Remove unused references
ubick Aug 2, 2019
be06251
Add PHP 7 and latest Magento Community support
ubick Aug 2, 2019
0794102
Update Travis PHP references
ubick Aug 2, 2019
9b3e914
Remove composer memory limit in Travis
ubick Aug 2, 2019
4003004
Update Magento Community repo reference
ubick Aug 2, 2019
15e3568
Fix Magento Community reference
ubick Aug 2, 2019
ba107b1
Reduce number of Travis PHP builds
ubick Aug 2, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
behat.yml
vendor
bin/behat
bin/phpspec
bin
composer.lock
composer.phar
11 changes: 11 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
imports:
- php

tools:
php_code_sniffer:
filter:
excluded-paths: [ spec/*, vendor/* ]

php_analyzer:
filter:
excluded-paths: [ spec/*, vendor/* ]
26 changes: 26 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# see http://about.travis-ci.org/docs/user/languages/php/ for more hints
language: php

# list any PHP version you want to test against
php:
# using major version aliases

# aliased to a recent 5.6.x version
- "5.6"
# aliased to a recent 7.2.x version
- "7.2"

before_install:
- COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --prefer-dist --no-interaction

before_script:
- composer install --dev
# omitting "script:" will default to phpunit
# use the $DB env variable to determine the phpunit.xml to use
script:
# - ./bin/behat
- ./bin/phpspec run

# configure notifications (email, IRC, campfire etc)
notifications:
email: "magetest@inviqa.com"
19 changes: 19 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (C) 2012-2013 <https://github.com/MageTest/BehatMage/contributors>

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading