All Questions
Tagged with codeception composer-php
18 questions
1
vote
1
answer
1k
views
Codeception project can't find AcceptanceTester
I am creating a new project from scratch on a Mac Catalina 10.15 with php v7.3.27 and composer v2.0.12. I have created a Codeception project before but on a different computer. I followed the ...
0
votes
1
answer
285
views
Run codeception on Windows system creates an Error when done like shown in the Quickstart
Running this: C:\Projects\HelloWorld>php vendor\bin\codecept generate:cest acceptance createTodo
Results in the Error:
if [ -d /proc/cygdrive ]; then
case $(which php) in
$(readlink -n ...
0
votes
1
answer
112
views
Not able to install codeception on MacBook using composer
I have a MacBook with Catalina 10.15.6
I have PHP and Composer installed.
I use the command composer require "codeception/codeception" --dev
And it just sits and waits.
what are we waiting ...
0
votes
1
answer
1k
views
Codeception install problem - vendor/bin/codecept vendor not recognised as internal... windows10
When I download codeception with composer and run vendor/bin/codecept from project directory, it says vendor not recognized as internal or external program.
There is a folder inside vendor ...
0
votes
2
answers
3k
views
Script codecept handling the __exec_command event returned with error code 255
I am very new to unit testing and have been trying to use codeception to do it. So I have followed the following guidelines link
and installed it using composer: composer require "codeception/...
0
votes
1
answer
351
views
Can't select my field and also I can't write there with codeception
I'm trying to write a small test where I login to my chosen page. I want to write my email address to login field and press the button to login. However, I receive an error that I miss argument in my ...
0
votes
1
answer
208
views
How autoload parent PrestaShop classes in codeception?
I have PrestaShop module project under PrestaShop modules folder name mymodule
Prestashop
admin
classes
modules
mymodule - sub project root
I want test module using codeception so I ...
1
vote
2
answers
133
views
Conflicting versions of composer installed package causing issues
I'm running mac OS X and trying to use codeception through the terminal for a laravel project I'm working on, but I'm having some issues related to the version. The codecept command through terminal ...
0
votes
1
answer
266
views
Yii2 Testing error while codeception run command is issued
I've got a test suite in yii2 that I would like to run, I have installed composer, codeception, built the test with 'codecept build' and so far so good, everything was smooth as butter until I've ...
0
votes
1
answer
2k
views
Codeception can't find class when running single test
I'm writing the API test suite for a project I'm currently working on.
I can successfully run the suite using
codecept run api
and all the tests are passing successfully, but whenever I try running ...
0
votes
1
answer
254
views
yii2 codeception installation error from composer
In yii2, i am installing a new module through composer by following command
'global require "codeception/codeception = 2.0.*"'
but it is showing following error
2
votes
2
answers
6k
views
Composer updating codeception - phpunit does not update
I run
rm -rf vendor && composer update codeception/codeception -v
I get error:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested ...
5
votes
2
answers
5k
views
Jenkins not recognizing composer command
I have a local install of JenkinsCI. Installed via instructions in the Chapter 2 of Jenkins The Definitive Guide. I start Jenkins via Java Web Start/JNLP file on my MAC running El Capitan. All that ...
2
votes
1
answer
2k
views
composer update - doesn't get the newest version
I would like to install the newest Codeception. According to the docs the latest stable version is 2.1.2
However when I put in my composer.json:
"codeception/codeception": "*",
I'm getting commit ...
6
votes
4
answers
11k
views
codecept: command not found
I did a fresh installation of Ubuntu and after installing Yii2 etc I can't seem to be able to run codecept anymore.
I'm using Yii2. I required the latest codecept version in composer.json which is ...