Code Monkey home page Code Monkey logo

behat's Introduction

The Neos package

Note

This repository is a read-only subsplit of a package that is part of the Neos project (learn more on www.neos.io).

Neos is an open source Content Application Platform based on Flow. A set of core Content Management features is resting within a larger context that allows you to build a perfectly customized experience for your users.

If you want to use Neos, please have a look at the Neos documentation

Contribute

If you want to contribute to Neos, please have a look at https://github.com/neos/neos-development-collection - it is the repository used for development and all pull requests should go into it.

Build frontend assets

If you need to rebuild the frontend assets you need to run the following commands within the Neos.Neos package directory:

For develpment:

yarn
yarn build

For production:

yarn
yarn build:production

behat's People

Contributors

albe avatar andreaswolf avatar apocalip avatar baschny avatar beheist avatar bwaidelich avatar fischer-simon avatar foerthner avatar hlubek avatar johannessteu avatar jonakieling avatar kdambekalns avatar kitsunet avatar mficzel avatar mgoldbeck avatar mhsdesign avatar mrimann avatar webdesign2be avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

behat's Issues

Archive and suspend this package. No neos 9 tag.

as discussed in slack with christian:

The plan is to archive / suspend neos/behat. It doesnt fit in the world anymore and we have no resources to maintain an opinionated recommended behat setup. One should just use behat like everyone else too. The one thing we can provide is a simple way to boot flow inside of behat and that will be provided by neos/flow as autoloaded class.

steps:

  • move parts of FlowContextTrait to neos/flow as autloaded class and use it every where
  • deprecate it in the readme and show how to use neos/flow trait instead
  • deprecate it for composer
  • remove it from the base and dev distributions as dependency

Truncate tables is missing syntax for sqlite

Hi everyone,

while testing one of our Flow packages with Behat we tried to reuse code from the Neos.Behat package and noticed this issue:
Syntax for disabling foreign key checks and truncating tables for sqlite differs from mysql.

The matching PR is #17

Regards
Jona

behat:setup does not update an existing install

If e.g. the setup was run based on Flow 6.3 and is called again based on 7.1 (after an update), the Behat setup is not even touched, resulting in (potential) errors if method signatures conflict or the like.

Require correct Neos version

In my project we have Neos 2.3 and thus Flow 3.3 (still known as typo3/flow).

In the requirements of neos/behat we have "neos/flow": "*" which will thus fetch the latest neos/flow parallel to my currently installed typo3/flow.

Wouldn't it be safer to specify the minimum required Flow version (where the namespace renaming has happened already)? It crashes than on the "require_once" which in newer versions tries to load from the Neos.Flow instead of TYPO3.Flow (as I still have it).

My solution would be to hardcode the latest version that is compatible: "neos/behat": "~2.4".

Or should I stick to using the "deprecated" flowpack/behat instead?

Installation fails on Flow 5.3 branch with PHP 7.1

The latest change in #22 lead to all Flow 5.3 builds failing the behat steps. The reason is, that the behat:setup command will run composer install in the Build/Behat folder (https://github.com/neos/behat/blob/master/Classes/Command/BehatCommandController.php#L48). This contains the composer.lock file, that is now pinned onto behat/behat 3.8.1 and requiring PHP ^7.2 || ^8.0

Why don't we do a composer update? Why is the behat setup being pinned onto a specific set of dependency versions? As is the composer.lock is quite fragile to being updated on a later PHP version than is the lowest version supported by the lowest supported branch of Flow.

Clash between Symfony Console versions

With Flow 7.0 the Symfony Console version is 5.2, that seems to be incompatible with the 4.2 version used here currently. See https://travis-ci.com/github/neos/flow-development-collection/jobs/456009631 where this comes from:

PHP Fatal error: Declaration of Symfony\Component\Console\Output\BufferedOutput::doWrite(string $message, bool $newline) must be compatible with Symfony\Component\Console\Output\Output::doWrite($message, $newline) in /home/travis/build/neos/flow-development-distribution/Packages/Libraries/symfony/console/Output/BufferedOutput.php on line 45

v5.2.0:

v4.2.2:

Indeed quite some packages are outdated:

$ composer outdated
behat/behat                         v3.5.0  v3.8.1  Scenario-oriented BDD framework for PHP 5.3
behat/gherkin                       v4.5.1  v4.6.2  Gherkin DSL parser for PHP 5.3
behat/mink                          v1.7.1  v1.8.1  Browser controller/emulator abstraction for PHP
behat/mink-browserkit-driver        1.3.3   v1.3.4  Symfony2 BrowserKit driver for Mink framework
behat/mink-selenium2-driver         v1.3.1  v1.4.0  Selenium2 (WebDriver) driver for Mink framework
behat/transliterator                v1.2.0  v1.3.0  String transliterator
container-interop/container-interop 1.2.0   1.2.0   Promoting the interoperability of container objects (DIC, SL, etc.)
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
fabpot/goutte                       v3.2.3  v4.0.1  A simple PHP Web Scraper
guzzlehttp/guzzle                   6.3.3   7.2.0   Guzzle is a PHP HTTP client library
guzzlehttp/promises                 v1.3.1  1.4.0   Guzzle promises library
guzzlehttp/psr7                     1.5.2   1.7.0   PSR-7 message implementation that also provides common utility methods
instaclick/php-webdriver            1.4.5   1.4.7   PHP WebDriver for Selenium 2
ralouphie/getallheaders             2.0.5   3.0.3   A polyfill for getallheaders.
symfony/browser-kit                 v4.2.2  v5.2.0  Symfony BrowserKit Component
symfony/class-loader                v3.4.21 v3.4.47 Symfony ClassLoader Component
symfony/config                      v4.2.2  v5.2.0  Symfony Config Component
symfony/console                     v4.2.2  v5.2.0  Symfony Console Component
symfony/contracts                   v1.0.2  v2.3.1  A set of abstractions extracted out of the Symfony components
symfony/css-selector                v3.4.21 v5.2.0  Symfony CssSelector Component
symfony/dependency-injection        v4.2.2  v5.2.0  Symfony DependencyInjection Component
symfony/dom-crawler                 v4.2.2  v5.2.0  Symfony DomCrawler Component
symfony/event-dispatcher            v4.2.2  v5.2.0  Symfony EventDispatcher Component
symfony/filesystem                  v4.2.2  v5.2.0  Symfony Filesystem Component
symfony/polyfill-ctype              v1.10.0 v1.20.0 Symfony polyfill for ctype functions
symfony/polyfill-mbstring           v1.10.0 v1.20.0 Symfony polyfill for the Mbstring extension
symfony/translation                 v4.2.2  v5.2.0  Symfony Translation Component
symfony/yaml                        v4.2.2  v5.2.0  Symfony Yaml Component

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.