Running Codeception Tests Crashes Website Locally #4632
I followed the following guides several times in order to write Tests using Codeception but I encountered an error that I've never seen, and am unable to locate the root cause.
Codeception Install Guides:
If attempt to run any test (i.e: codecept run unit ), Codeception prints the following errors to the console.
From that moment forward, when I try to visit the site at the base URL that I have always used, I am unable to connect to any page.
The only solution I can do to get my site back locally is to delete my project locally, and then do a git pull, composer install, ect. After doing that, I can visit the site locally again. But if I try to use Codeception again and following either of these excellent guides, the cycle repeats:
I have done this process several times... From the logs I've placed below, it looks like some sort of authentication error and hopefully, it's from something simple I missed, but it seems extraordinarily tricky.
Thanks for any of your help! Ask if you need anything.
DevMode is enabled in config/general.php and has always been working locally.…
On Tue, Jul 23, 2019 at 7:18 PM Brad Bell ***@***.***> wrote: Do you have devMode enabled in config/general.php? If you don't can you enable it, then reload http://localhost when it's in that state and see if it gives any more information instead of a generic 500 page? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#4632?email_source=notifications&email_token=AKGNPIWPQ32ZD6JBJPGGU53QA6NWVA5CNFSM4IF4LSX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2UZIEA#issuecomment-514429968>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AKGNPIRUEDN2JHEIRT6Q6VTQA6NWVANCNFSM4IF4LSXQ> .
@gvwarrior The testing framework is (should be) separated from your main website directory. The only time the testing framework may actually get involved with your production directory/website is if you tell it to use your sites directories through
Also - do you have the