Giter Club home page Giter Club logo

phpunit-browserstack's People

Contributors

agarneha1331 avatar ankit098 avatar bartonhammond avatar bstack-security-github avatar hariharanbrowserstack avatar mukulgupta1 avatar nidhimj22 avatar raghuhit avatar rhlbhatnagar avatar sinstein avatar tr4n2uil avatar vedharish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

phpunit-browserstack's Issues

`composer local` returns error code 2

Steps

  • composer require browserstack/browserstack-local
  • Update config/local.conf.json
  • composer install
  • composer local

Results

~/projects/wisnet/browserstack/phpunit-test/firstTest (master)$ composer local
> CONFIG_FILE=config/local.conf.json vendor/bin/phpunit tests/local_test.php
PHPUnit 4.8.36 by Sebastian Bergmann and contributors.

E

Time: 41 ms, Memory: 4.00MB

There was 1 error:

1) LocalTest
BrowserStack\LocalException: [0]: 

FAILURES!
Tests: 1, Assertions: 0, Errors: 1.
Script CONFIG_FILE=config/local.conf.json vendor/bin/phpunit tests/local_test.php handling the local event returned with error code 2
~/projects/wisnet/browserstack/phpunit-test/firstTest (master)$ 

PHP Notice: Undefined variable: CONFIG

Steps

  • updated config/single.conf.json
  • composer install
  • composer single

Results:

~/projects/wisnet/browserstack/phpunit-test/phpunit-browserstack (master)$ composer single
> vendor/bin/phpunit tests/single_test.php
PHP Notice:  Undefined variable: CONFIG in /Users/barton/projects/wisnet/browserstack/phpunit-test/phpunit-browserstack/lib/globals.php on line 8
PHP Notice:  Undefined variable: CONFIG in /Users/barton/projects/wisnet/browserstack/phpunit-test/phpunit-browserstack/lib/globals.php on line 11
PHPUnit 4.8.36 by Sebastian Bergmann and contributors.

Improve config instructions

The current installation instructions simply say to update the config file, but after browsing the source, it would be a lot more useful to also make mention of the environment variable CONFIG_FILE, which would be much more useful for configuration in tools like circleci.com, as that means the package would just need to be installed and the phpunit-browserstack file could be included in version control outside of the vendor directory.

packagist.org

Need a release of this package on packagist.org - is there a particular reason why it isn't released there?

It seems by simply adding a name to composer.json that the package could be submitted to make it a handy package to add for integrating into browserstack.

Currently the install method is manual, which is not ideal when deploying to continuous integration tools, it would be better if it could be installed with a simple composer install..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.