Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run tests on Laravel 4 #54

Open
martinmike2 opened this issue Dec 17, 2015 · 4 comments
Open

Unable to run tests on Laravel 4 #54

martinmike2 opened this issue Dec 17, 2015 · 4 comments

Comments

@martinmike2
Copy link

When I run the tests I keep getting errors that it cant find certain classes. It seems to me that I must have something configured wrong.

My Codeception.yml:

actor: Tester
paths:
tests: tests
log: tests/_output
data: tests/_data
support: tests/_support
helpers: tests/_support/Helper
envs: tests/_envs
settings:
bootstrap: _bootstrap.php
colors: true
memory_limit: 1024M
modules:
enabled: [Laravel4]
config:
Db:
dsn: ''
user: ''
password: ''
dump: tests/_data/dump.sql

Running codeception via CLI in my applications directory works just fine, Webception seems to have problems finding classes in Laravel 4.

@Patabugen
Copy link
Collaborator

I'm mostly guessing here ;) but:

Which classes is it missing? Did you run composer install in the WebCeption path?

@martinmike2
Copy link
Author

Installed via composer create-package

It cant find anything in the "use" block

@martinmike2
Copy link
Author

Loking a little deeper, Webception comes with, and is set up for Codeception 1.8.1, our tests are written on the current stable release of Codeception

@Patabugen
Copy link
Collaborator

Ah yes, though it should now work with CodeCeption 2.* - that's what I'm
using it with.

On 18 December 2015 at 22:06, martinmike2 [email protected] wrote:

Loking a little deeper, Webception comes with, and is set up for
Codeception 1.8.1, our tests are written on the current stable release of
Codeception


Reply to this email directly or view it on GitHub
#54 (comment)
.

Patabugen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants