So your not trying to build an app on top of CakePHP but rather I think my
rule still stands here. In fact I believe that's the problem. Instead of
cloning the project you created a new one which is meant to *use *the
CakePHP core files and I believe tests will be set up accordingly. I think
Hello Andrew
True, my long term goal is to submit my changes to github.But first, I
have to learn how to set up a test.So I am trying to follow the
simple example in the Testing chapter at this point. I am new to the
world of object-oriented programming, coming from a procedure
OK, I have moved ahead on the /vendor side thanks to some suggestions from
Mark Story.
create /web/cake3-rc2-v3 directory
git clone git://github.com/cakephp/bake.git
cd bake
copy composer.phar to /web/cake3-rc2-v3/bake directory
php composer.phar install
Now, the following works.
Hello Andrew ! (and anyone else who wishes to contribute)
Reference your comment on You should never add/edit/remove any file
maintained by a package manager,
I think that my case is an exception. With the assistance of another
developer I have developed a fix
for a cake bake issue. My
Hello Andrew !
OK, I tried this.
E:\web\cake3-rc2php composer.phar dump-autoload
Generating autoload files
Then
E:\web\cake3-rc2phpunit
vendor/cakephp/bake/tests/TestCase/View/Helper/ProgressHelperTest.php
PHPUnit 4.5.0 by Sebastian Bergmann and contributors.
Configuration read from
I was going to say:
I'm curious, what happens if you run it with the composer installed
phpunit? Your command will be something like
`vendor/bin/phpunit tests/TestCase/View/Helper/`.
But then I noticed your path: `E:\web\cake3-rc2\vendor\`. You should never
add/edit/remove any file
When something isn't loading the correct file, it smells like a composer
autoload issue or a namespace issue. Try running `composer dump-autoload`.
If that doesn't work try looking at your `use` blocks to see if you might
be missing something.
On Friday, February 13, 2015 at 12:00:11 AM UTC-5,
OK, I have made a little progress in trying to figure out what is
wrong. My conclusion is that there are some steps missing in the
documentation.
I hope that perhaps one of the core developers might comment as to what
might be wrong.
I was able to make the Fatal error: Class
This is line 15 in ProgressHelperTest.php, within function setUp()
$this-Progress = new ProgressHelper($View);
On Wednesday, February 11, 2015 at 9:06:29 PM UTC-5, Lorne Dudley wrote:
Testing (page 559 in the pdf version)
I am attempting to follow the instructions in the 3.0.0-RC2