Giter Site home page Giter Site logo

ext_scaffold's People

Contributors

helhum avatar oliverklee 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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ext_scaffold's Issues

Can't run phpunit because of wrong composer dependencies

I've just tried to setup a proper testing environment with this extension as base but failed because of this reason:

In this line https://github.com/helhum/ext_scaffold/blob/master/composer.json#L24 you require typo3/cms-core only which just installes the core extension in .Build/Web/typo3/sysext/core

When I make the following request, I get an error:

TYPO3_PATH_WEB=$PWD/.Build/Web TYPO3_PATH_ROOT=$PWD/.Build/Web .Build/bin/phpunit --colors -c .Build/vendor/nimut/testing-framework/res/Configuration/UnitTests.xml Tests/Unit

Unable to determine path to entry script. Please check your path or set an environment variable 'TYPO3_PATH_ROOT' to your root path.

because of this line: https://github.com/Nimut/testing-framework/blob/master/src/TestingFramework/Bootstrap/AbstractBootstrap.php#L138-L143 which looks for .Build/Web/typo3/index.php which does not exist in my case.

Changing my require line to typo3/cms fixes the problem.

PS: I have even tried it with THIS extension and the tests are not working atm.

Test suite doesn't match autoloading

Hi Helmut,
thanks for putting up this example.
The composer.json loads tests classes only for core and fluid tests. So the example commands you name do not work. They start tests without proper classes loaded. E.g. dbal tests.
If the aim is to have the starter run a view tests of TYPO3, quickly, a command to only run units tests of the sysext/core may be a way to go.
Henri

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.