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

Workdir-independent tests #235

Merged
merged 2 commits into from
Mar 2, 2018
Merged

Workdir-independent tests #235

merged 2 commits into from
Mar 2, 2018

Conversation

1ma
Copy link
Contributor

@1ma 1ma commented Mar 2, 2018

Currently the unit tests need to be run from the project root directory, otherwise PHP cannot find the tests/fixtures/results.json file. I simply leveraged an existing constant to convert these paths to their absolute form. With this change the test suite can now be run directly from PHPStorm, and possibly other IDEs.

Also composer.lock has been ignored to avoid accidentally committing it.

@markstory markstory merged commit a24522b into perftools:master Mar 2, 2018
@markstory
Copy link
Member

Thanks!

@1ma 1ma deleted the absolute-paths branch March 4, 2018 18:29
@1ma 1ma mentioned this pull request Mar 27, 2018
@glensc glensc mentioned this pull request Jun 19, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants