for testing things using APC I need to run tests in the browser.
Mostly unit tests.
Is that possible? What should I do or change to setup unit testing via
browser instead of calling the tests from command line?
> for testing things using APC I need to run tests in the browser. > Mostly unit tests. > Is that possible? What should I do or change to setup unit testing via > browser instead of calling the tests from command line?
For now I created a symlink of /test -> /web/test to be able to access
the tests.
Any better idea?
Another problem is that the output is not "optimized" for the browser
(text only). Would be cool to also see colorized results.
Regards,
Matthias
On 19 Nov., 16:16, Fabien POTENCIER <fabien.potenc...@symfony-
> > for testing things using APC I need to run tests in the browser.
> > Mostly unit tests.
> > Is that possible? What should I do or change to setup unit testing via
> > browser instead of calling the tests from command line?
BTW: If you could also give me a hint for how to get this work with sf
1.1 I would be happy, too :-)
(but for now I need this for an existing 1.0 project)
On 19 Nov., 16:23, "Matthias N." <matthias.nothh...@googlemail.com>
wrote:
> For now I created a symlink of /test -> /web/test to be able to access
> the tests.
> Any better idea?
> Another problem is that the output is not "optimized" for the browser
> (text only). Would be cool to also see colorized results.
> Regards,
> Matthias
> On 19 Nov., 16:16, Fabien POTENCIER <fabien.potenc...@symfony-
> > > for testing things using APC I need to run tests in the browser.
> > > Mostly unit tests.
> > > Is that possible? What should I do or change to setup unit testing via
> > > browser instead of calling the tests from command line?
Unfortunately I still have problems.. I'm trying to test APC caching
using the tests from trunk. With APC 3.0.15 I don't get reliable test
results, one time it fails some tests one time it passes all..
strange..
How can I call the CLI commands from browser in sf 1.1 as well as 1.0?
BTW: sf 1.1 CLI/test is cool as it provides autoload, nice :)
Regards,
Matthias
On 19 Nov., 13:46, "Matthias N." <matthias.nothh...@googlemail.com>
wrote:
> for testing things using APC I need to run tests in the browser.
> Mostly unit tests.
> Is that possible? What should I do or change to setup unit testing via
> browser instead of calling the tests from command line?
Matthias N. wrote: > Unfortunately I still have problems.. I'm trying to test APC caching > using the tests from trunk. With APC 3.0.15 I don't get reliable test > results, one time it fails some tests one time it passes all.. > strange..
On 22 Nov., 12:21, "Ian P. Christian" <poo...@pookey.co.uk> wrote:
> Matthias N. wrote:
> > Unfortunately I still have problems.. I'm trying to test APC caching
> > using the tests from trunk. With APC 3.0.15 I don't get reliable test
> > results, one time it fails some tests one time it passes all..
> > strange..
> Is it failing with a 255 return code?
Sorry, I don't understand this question in that context..
Like I said some time some tests fail, and next time not. Where should
there be a return code?
On 22 Nov., 12:02, "Matthias N." <matthias.nothh...@googlemail.com>
wrote:
> Unfortunately I still have problems.. I'm trying to test APC caching
> using the tests from trunk. With APC 3.0.15 I don't get reliable test
> results, one time it fails some tests one time it passes all..
> strange..
The ->getTimeout() and ->getLastModified() tests of sfAPCCache tests
sometimes fail. (I'm testing from CLI).
Seems that the testing stuff needs a bit tuning..!? IMHO it is not
flexible enough.. Or there is at least some support missing mostly for
calling tests from the webbrowser..!?
Sorry for spamming this list but I'm trying to push the quality of my
plugins to another level by using tests which unfortunately seems to
be a bit too tricky IMHO.. ;-)
Is there a way with lime to turn off output of passed tests. I only
want to see failed tests. That would make it easier to debug.
Regards,
Matthias
On 22 Nov., 13:11, "Matthias N." <matthias.nothh...@googlemail.com>
wrote:
> On 22 Nov., 12:02, "Matthias N." <matthias.nothh...@googlemail.com>
> wrote:
> > Unfortunately I still have problems.. I'm trying to test APC caching
> > using the tests from trunk. With APC 3.0.15 I don't get reliable test
> > results, one time it fails some tests one time it passes all..
> > strange..
> The ->getTimeout() and ->getLastModified() tests of sfAPCCache tests
> sometimes fail. (I'm testing from CLI).
> Seems that the testing stuff needs a bit tuning..!? IMHO it is not
> flexible enough.. Or there is at least some support missing mostly for
> calling tests from the webbrowser..!?