-
Notifications
You must be signed in to change notification settings - Fork 4
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
use atoum.phar to execute tests when it's needed #66
Comments
for me we should have a configuration part:
I think is the best possibilites |
First, some personal thought : I don't understand why the phar is used and why atoum is not installed via composer (like that the dependancy could be in different version for each project, and developpers get atoum on the composer install without any next step). But if people use it, we should support this. For now we've managed to avoid having configuration, but will have to add one one day (for test generation for example). @CedCannes how did you include the phar. Is the phar in the root dir of your project ? On a parent folder of the test ? (the file is commited in the repository ?). |
@agallou Usually on my projects, atoum is installed via composer. In my test files I added atoum.phar as specified in the documentation I think you're right, atoum is mostly used with composer, this feature is probably not expected. |
I use atoum.phar on a project.
When I run a test with the contextual menu, an error appears because bin/atoum isn't found.
In my test file I have to include/require the atoum.phar like this :
require_once __DIR__ . '/atoum.phar';
it may be that detect this kind of require/include in a test file could allow to the plugin executing the atoum.phar to run the tests of this file.
The text was updated successfully, but these errors were encountered: