jayhealey / Webception

A Web UI for running Codeception tests.
MIT License
193 stars 59 forks source link

Unable to run tests on Laravel 4 #54

Open martinmike2 opened 8 years ago

martinmike2 commented 8 years ago

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 commented 8 years ago

I'm mostly guessing here ;) but:

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

martinmike2 commented 8 years ago

Installed via composer create-package

It cant find anything in the "use" block

martinmike2 commented 8 years ago

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 commented 8 years ago

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 notifications@github.com 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 https://github.com/jayhealey/Webception/issues/54#issuecomment-165907923 .

Patabugen