Skip to content

[zszucs]add index to failed tests if examples array is used#19

Merged
DavertMik merged 1 commit intoCodeception:masterfrom
zs-dev:zszucs/add_index_to_examples_array
Nov 26, 2015
Merged

[zszucs]add index to failed tests if examples array is used#19
DavertMik merged 1 commit intoCodeception:masterfrom
zs-dev:zszucs/add_index_to_examples_array

Conversation

@zs-dev
Copy link
Copy Markdown
Contributor

@zs-dev zs-dev commented Oct 1, 2015

when a test fails and is using the examples array, the error message doesn't say which index failed. This pr will add it eg
Xyz\Controller\SomeControllerTest::shouldNotSave | under these scenarios | examples index 0 Failed asserting that two strings are equal.

@DavertMik
Copy link
Copy Markdown
Member

thanks!

DavertMik added a commit that referenced this pull request Nov 26, 2015
[zszucs]add index to failed tests if examples array is used
@DavertMik DavertMik merged commit 8efcd01 into Codeception:master Nov 26, 2015
@DavertMik
Copy link
Copy Markdown
Member

Released a new version with this

@zs-dev zs-dev deleted the zszucs/add_index_to_examples_array branch November 27, 2015 02:25
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.

2 participants