Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Added tests covering the 2 ways to instantiate the driver #40

Merged
merged 1 commit into from
May 2, 2014

Conversation

stof
Copy link
Member

@stof stof commented May 1, 2014

I added the extra unit tests as a separate testcase to ensure we won't hide some test from the common driver testsuite by mistake (it was the case at some point in MinkSeleniumDriver IIRC)

@stof
Copy link
Member Author

stof commented May 1, 2014

tests are failing because https://github.com/Behat/MinkGoutteDriver/pull/39 is not merged yet

@stof
Copy link
Member Author

stof commented May 2, 2014

This PR closes https://github.com/Behat/MinkGoutteDriver/issues/29 as we reach 100%, which should be high enough

/**
* @group unit
*/
class ExtraDriverTest extends \PHPUnit_Framework_TestCase
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we should test that too into the MinkBrowserKitDriver too (that returned client is of correct type + it's matching the one we've given in constructor).

Copy link
Member Author

Choose a reason for hiding this comment

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

I have some extra tests for MinkBrowserKitDriver locally too (failing for now because they are expecting the changes done in other pending PRs). I will submit them as soon as the other PRs are merged

Copy link
Member Author

Choose a reason for hiding this comment

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

stof added a commit that referenced this pull request May 2, 2014
Added tests covering the 2 ways to instantiate the driver
@stof stof merged commit 8bf4129 into minkphp:master May 2, 2014
@stof stof deleted the extra_tests branch May 2, 2014 08:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants