Firstly, I just want to say that I have successfully created and run a web-based test with Cake (https://trac.cakephp.org/ticket/5659), but I've come to realize that there are maybe 3-5 different ways to create and run tests for Cake. There's command line, web-based (core and app), and even different ways to instantiate fixtures within those tests. It's all extremely confusing to me.
In order to try to provide a proper test case for a different *possible* bug I've found, I'd like to run some tests from a different, yet similar bug report's patch in order to learn: https://trac.cakephp.org/ticket/5596 I tried placing those tests in my RC3 version of Cake (I realize it was originally announced in RC2, but it was fixed in either RC3 or RC4), and was unsuccessful of getting them to run. I placed both "counter_cache_post_fixture.php" and "counter_cache_user_fixture.php" in /cake/tests/fixtures. I placed "countercache.test.php" in /cake/tests/cases/libs. I then went to the web-test location, http://127.0.0.1/test.php, opened the Core "Test Cases" link, and found "libs / Countercache", but when I attempt to run the test, I get the following error: "Error: Database table counter_cache_users for model User was not found.". Can someone point me in the right direction so that I can get this to load and run properly? Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
