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

'WiringAssertionsTrait' not found when running (php)unit tests #21

Closed
sobstel opened this issue Aug 11, 2014 · 2 comments
Closed

'WiringAssertionsTrait' not found when running (php)unit tests #21

sobstel opened this issue Aug 11, 2014 · 2 comments

Comments

@sobstel
Copy link
Contributor

sobstel commented Aug 11, 2014

Aura.Marshal git:develop ❯ phpunit tests
PHP Fatal error:  Trait 'Aura\Framework\Test\WiringAssertionsTrait' not found in /Users/sobstel/Projects/Aura.Marshal/tests/WiringTest.php on line 8

Fatal error: Trait 'Aura\Framework\Test\WiringAssertionsTrait' not found in /Users/sobstel/Projects/Aura.Marshal/tests/WiringTest.php on line 8
@harikt
Copy link
Member

harikt commented Aug 12, 2014

So you ran the tests from the root folder.

See travis how the tests runs https://github.com/auraphp/Aura.Marshal/blob/develop/.travis.yml#L6 .

cd tests
phpunit

@harikt harikt closed this as completed Aug 12, 2014
@harikt
Copy link
Member

harikt commented Aug 12, 2014

Aah you don't need to run the wiringAssertionTest . It is there for the framework to tests. So you need to skip the https://github.com/auraphp/Aura.Marshal/blob/develop/tests/WiringTest.php

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