Giter Club home page Giter Club logo

behatnoextension's People

Contributors

ajgarlag avatar jakzal avatar walterdolce avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

behatnoextension's Issues

Extension does not comply with Behat's file configuration handling specification

Looks like the extension does not comply with the way Behat handles the configuration file and its "variables".

default:
    Zalas\Behat\NoExtension:
      imports:
        - %paths.base%/features/behat/bootstrap/config/services.yml

Throws:

[InvalidArgumentException]
  The file "%paths.base%/features/behat/bootstrap/config/services.yml" does not exist

Shouldn't the %paths.base% be evaluated by the extension, just like Behat does?

[RFC] XML services

I've noticed that services could be loaded only from .yml files but to me it should be possibile to give also .xml format.
Maybe we can let the user decide with this policy: default .yml (will not BC) otherwise specify .xml or we can try find both (but I would prefer a more explicit one).

What do you think?

Question: how to inject a class into a context?

By following the brief documentation in the README.md it is not clear whether and how it is possible to inject components into a context constructor (by the look of the *.feature files it seems it is possible though).

  • How can someone inject an interface in a context which is mapped against a concrete implementation?
  • If an interface to be injected in a context has collaborators, how should those be specified?

Please note the use of any Symfony-related component is not assumed here. I'm talking plain POPOs needed to ensure the test suite's codebase is well structured and for its components to be reusable.

Thanks!

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.