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

Dot notation for params replacement. Fixes #3339 #3372

Closed
wants to merge 122 commits into from
Closed

Dot notation for params replacement. Fixes #3339 #3372

wants to merge 122 commits into from

Conversation

neoascetic
Copy link
Contributor

No description provided.

DavertMik and others added 30 commits June 8, 2016 01:39
remove duplicated trait usage
…r-encodings

#3191 change ucfirst for multibyte character encodings
* gherkin languages support

* Fix gherking i18n file path
fix search input field by label
Conflicts:
	src/Codeception/Scenario.php
	src/Codeception/Subscriber/Console.php
* Fix for issue #3112 Group events fire twice.

* Updated Dummy Test count.

* Updated Dummy Test count.
Fix return types in the docblocks of the `findRecord` methods of the
Laravel5 and Lumen modules.
Added Laravel5 and Lumen module changes to CHANGELOG
REST stop/startFollowingRedirects methods to be part of JSON and XML parts
Fixed creating snapshot files on failure. Closes #3207
Ryan Hansen and others added 23 commits July 15, 2016 16:06
Update Lumen amLoggedAs to be compatible with 5.2
added project maintenance improvements
fix typo in JsonType documentation
Add callArtisan method to Laravel5 module
Laravel5 add run_database_migrations configuration option
* Update Cest.php

Don't need to manage group here, it will be done later

* Update GroupManager.php

Manage group for DataProvider here and take the group of the first example because you can't manage different group between different example for the same test (Group by annotation and Group by file is working)

* Update SuiteManager.php

Update GroupDetails of DataProvider after the groups retrieved

* Update GroupManager.php

* Update SuiteManager.php

* Update GroupManager.php

* Update GroupManager.php

* Update SuiteManager.php

* Update GroupManager.php

* Update GroupManager.php

* Update GroupManager.php
* support for creating different records for tests with @example
* fixes #3356 - error saving files on Windows (#3360)
Improved Yii2 module:

* init part added to work with unit/acceptance tests
* added entryScript and entryUrl config values
* added amOnRoute method
* added amloggedAs method
* added fixtures support
* added grabComponent method
* added mocked mailer component
* grabLastSentEmail should return actual last email
* created logger in debug mode,
* mocked assetManager
* fixed time calculation. Fixes #3331

* Added RequiresPackage interface and validation to check external package dependencies for modules
continue;
$value = $this->vars;
foreach (explode('.', $placeholder) as $segment) {
if (is_array($value) && array_key_exists($segment, $value)) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since it's used a lot it could be adjusted as is_array($value) && isset($value[$segment]) && array_key_exists($segment, $value) to get extra performance. Needs to be measured though...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess in this case you may not need is_array check as well

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

@neoascetic
Copy link
Contributor Author

IDK what's with tests

@Naktibalda
Copy link
Member

@neoascetic your branch is out of date,
https://github.com/neoascetic/Codeception/tree/complex-params-replacing
This branch is 13 commits ahead, 121 commits behind Codeception:2.2.

Update your branch this way:

git fetch upstream 2.2:2.2
git rebase 2.2 complex-params-replacing

@neoascetic
Copy link
Contributor Author

neoascetic commented Jul 26, 2016

I thought this is a new feature and that's why I've branched from the master

@neoascetic
Copy link
Contributor Author

Closed in favor to #3373

@neoascetic neoascetic closed this Jul 26, 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

Successfully merging this pull request may close these issues.

None yet