Codeception / YiiBridge

Wrapper classes required to run Yii functional tests with Codeception
MIT License
21 stars 18 forks source link

Register on Packagist #7

Open cebe opened 10 years ago

cebe commented 10 years ago

Just seen that the package is not on packagist, so it can not be installed easily. Can someone add it there? https://packagist.org/packages/submit

Ragazzo commented 10 years ago

Could be useful.

Also FYI, since Yii special architecture features - exit , echo, header and other, i would rather suggest to use PhpBrowser for functional in this case.

badams commented 10 years ago

How does one install this? I've tried adding the git repo to my composer.json file

{
    "repositories": [
        {
            "type" : "vcs",
            "url" : "http://github.com/Codeception/YiiBridge"
        }
    ],

    "require-dev": {
        "codeception/codeception": "2.0.2",
        "codeception/YiiBridge": "*"
    }
}

But I just get the following error

Problem 1

  • The requested package codeception/yiibridge could not be found in any version, there may be a typo in the package name.
lucor commented 10 years ago

@badams change the "url" value: "url" : "https://github.com/Codeception/YiiBridge.git"

dilumdarshana commented 10 years ago

Still getting the same issue even with the given url.

badams commented 10 years ago

@dilumdarshana I got it working with the following.

{
    "minimum-stability": "dev",
    "repositories": [
        {
             "type" : "vcs",
             "url" : "https://github.com/Codeception/YiiBridge",
             "reference": "origin/master"
        }
    ],
    "require-dev": {
        "codeception/codeception": "2.0.2",
        "codeception/YiiBridge": "dev-master"
    }
}
dilumdarshana commented 10 years ago

@badams Great... Thanks... It is working with the following as well,

{ "repositories": [ { "type" : "vcs", "url" : "https://github.com/Codeception/YiiBridge" } ], "require-dev": {
"codeception/codeception": "dev-master",
"codeception/YiiBridge": "dev-master" } }

ghost commented 10 years ago

So any news on this ?

Ragazzo commented 10 years ago

@DavertMik can you look on this one please ?

drewpc commented 9 years ago

I attempted to submit it to Packages and got this error:

"The package name codeception/YiiBridge is invalid, it should not contain uppercase characters. We suggest using codeception/yii-bridge instead."

konstin commented 7 years ago

For anyone who might still have that problem: It is registered as "codeception/yii-bridge". So you can install it with composer require codeception/yii-bridge

freezy-sk commented 5 years ago

@konstin but it points to forked repository https://github.com/lubobill1990/codeception-yii-bridge

konstin commented 5 years ago

@freezy-sk As apparently codeception themselves won't do it, I'm fine with this