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

Unit Tests run without proper configuration #65

Open
bartoszherba opened this issue Nov 7, 2017 · 3 comments
Open

Unit Tests run without proper configuration #65

bartoszherba opened this issue Nov 7, 2017 · 3 comments
Milestone

Comments

@bartoszherba
Copy link

Currently Travis run unit tests without pointing to configuration file (eg. dev/tests/unit/phpunit.xml.dist) which yields in errors with tests execution. Configuration includes bootstrap.php which is required to run tests properly.
As a result tests that pass locally do no pass during CI process and so it is not possible to develop any future implementation which includes tests.

Another thing is that sniffers run through tests files but are not configured to do so (eg. it is required to use a lot of static method or to name long descriptive tests method). As a result every tests must include sniffers/phpmd ignore annotation.

@chevli
Copy link
Contributor

chevli commented Nov 7, 2017

Hi @bartoszherba,

Once Version 1 (for M2.1) has been released, we'll look to work on Version 2 (for M2.2) as PHPUnit has updated and the test classes will require to also be updated.

Feel free to make any relevant changes to get the sniffers working properly 😄.

@bartoszherba
Copy link
Author

@chevli
Could you reference PHPUnit changes? I can't find anything in changelog for 2.2.x
Thanks in advance.

@chevli chevli added this to the Version 2 milestone Jan 26, 2018
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