Skip to content

Adding vendor/bin/ #400

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

Closed
wants to merge 1 commit into from
Closed

Adding vendor/bin/ #400

wants to merge 1 commit into from

Conversation

ThomasLandauer
Copy link
Member

I would say this should be done for all other commands too, to make them copy-pastable

I would say this should be done for all other commands too, to make them copy-pastable
@Naktibalda
Copy link
Member

This file is generated from doc blocks in https://github.com/Codeception/Codeception/tree/4.1/src/Codeception/Command/

@Naktibalda
Copy link
Member

A problem is that there are other ways to install Codeception - downloading phar file, global installation using composer and even docker. They all put codecept file in different places.

I use alias codecept='./vendor/bin/codecept' in .bash_aliases file to reduce typing.

@ThomasLandauer
Copy link
Member Author

OK, I see. However, since https://codeception.com/quickstart recommends composer installation, and https://codeception.com/docs/02-GettingStarted#Running-Tests shows the php vendor/bin/codecept syntax, I'd suggest: Convert all code parts on this page to this syntax too; and include a hint box somewhere, mentioning .bash_aliases.

@Naktibalda
Copy link
Member

By the way, command that must be used on Windows is vendor/bin/codecept.bat

@Arhell Arhell closed this Aug 2, 2023
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.

3 participants