ZF2 Module
+Maintainer
+Gintautas Miselis
+ +naktibalda
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 27b72f9ed..0bc45d58c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,7 +19,7 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: token: ${{ secrets.GH_PAT }} @@ -30,8 +30,10 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 + env: + COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - php-version: 8.0 + php-version: 8.1 - name: Install dependencies run: composer install --prefer-dist --no-progress diff --git a/.gitignore b/.gitignore index 82d6b51a3..e954f2dc2 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,8 @@ _site/ /composer.lock Gemfile.lock /docs/modules/AbstractAsserts.md +/docs/modules/Phalcon.md +/docs/modules/Phalcon4.md /package/composer.lock /package/vendor /vendor diff --git a/Gemfile b/Gemfile index 205a5eaf6..52816f1c6 100644 --- a/Gemfile +++ b/Gemfile @@ -1,8 +1,11 @@ source 'https://rubygems.org' -gem 'jekyll', '~> 4.2.2' +gem 'jekyll', '~> 4.3.3' gem 'kramdown' gem 'rouge' +gem 'webrick' +gem 'wdm', '~> 0.1.1', :install_if => Gem.win_platform? + group :jekyll_plugins do gem 'jekyll-algolia', '~> 1.7.1' diff --git a/README.md b/README.md index 918c34b10..925d83538 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Codeception Site +# Codeception.com Website https://codeception.com diff --git a/RoboFile.php b/RoboFile.php index e21767f9e..cb6a82e2f 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -11,7 +11,8 @@ class RoboFile extends \Robo\Tasks const REPO_BLOB_URL = 'https://github.com/Codeception/Codeception/blob'; const BRANCH_4x = '4.2'; - const BRANCH_5x = '5.0'; + const BRANCH_5x = '5.1'; + const BRANCH_MAIN = 'main'; function post() { @@ -42,76 +43,7 @@ function publish() ->push() ->run(); } - - - /** - * builds docs for specific branch - */ - function docsBranch($branch) - { - $this->yell("Creating docs for $branch"); - $dir = "docs-$branch"; - - $this->taskGitStack() - ->cloneRepo('git@github.com:Codeception/Codeception.git', 'source') - ->run(); - - $this->taskGitStack() - ->dir('source') - ->checkout($branch) - ->run(); - - $this->taskCleanDir($dir)->run(); - - $this->taskWriteToFile("_includes/doc_$branch.html") - ->text('
- Codeception collects and shares best practices and solutions for testing PHP web applications. With a flexible
- set of included modules tests are easy to write, easy to use and easy to maintain.
-
+ Codeception collects and shares best practices and solutions for testing PHP web applications. With a
+ flexible
+ set of included modules tests are easy to write, easy to use and easy to maintain.
+
- Execute it as
-
- php codecept.phar
- Execute it as
-
- php codecept.phar
sudo curl -LsS https://codeception.com/codecept.phar -o /usr/local/bin/codecept
- sudo chmod a+x /usr/local/bin/codecept
+ sudo curl -LsS https://codeception.com/php80/codecept.phar -o /usr/local/bin/codecept
+ sudo chmod a+x /usr/local/bin/codecept
+
+ Execute it as
+ codecept
- Execute it as
-
- codecept
+A couple of weeks ago we migrated from Zend - Framework 1 to Symfony 3 and all the functional tests kept working. We basically only needed to replace the ZF1 - module with the Symfony module. Thanks @codeception for your awesome work there!
— - Matthias Noback (@matthiasnoback) January 29, 2019 -
+A couple of weeks ago we migrated from Zend + Framework 1 to Symfony 3 and all the functional tests kept working. We basically only needed to replace the + ZF1 + module with the Symfony module. Thanks @codeception + for your awesome work there! +
— + Matthias Noback (@matthiasnoback) + January 29, 2019 +
+I remember tearing hair out for half - a day trying to write a unit test asserting that a route renders a certain view. @codeception = 5 min.
— Michael Sullivan (@regularmike) April 7, 2016 -
++ I remember tearing hair out for half a day trying to write a unit test asserting that a route renders a + certain view. + @codeception = 5 min. +
— + Michael Sullivan (@regularmike) + April 7, 2016 +
+Two years ago I decided to make @codeception the testing tool of the whole PAYBACK Global web dev. It was - the best decision I ever made.
— Lars Frantzen (@frantzencd) June 2, 2017 -
+Two years ago I decided to make + @codeception + the testing tool of the whole PAYBACK Global web dev. It was + the best decision I ever made.
— Lars Frantzen (@frantzencd) + June 2, 2017 +
+@codeception Wow, using pageobject and stepobject with cest test types is - awesome. So much flexibility #testing #php
— Mario BaΕ‘iΔ (@ShockMario) December 17, 2015 -
++ @codeception + Wow, using pageobject and stepobject with cest test types is awesome. So much flexibility + #testing + #php +
— Mario BaΕ‘iΔ (@ShockMario) + December 17, 2015 +
+Spending my life writing tests for - @orderswift right now. Really impressed with @codeception which makes thing a hell of a lot easier.
— Rich - Martell (@RichMartell) September 22, 2015 -
+Spending my life writing tests for + @orderswift + right now. Really impressed with + @codeception + which makes thing a hell of a lot easier. +
— + Rich Martell (@RichMartell) + September 22, 2015 +
+.@zachwills showing everyone @codeception - as a great way to do acceptance testing of legacy code. http://t.co/gWXYbGhbAW - Great tool! #wctpa
— Shawn Hooper (@ShawnHooper) - September 26, 2015 -
+. + @zachwills showing everyone + @codeception + as a great way to do acceptance testing of legacy code. + https://t.co/gWXYbGhbAW + Great tool! + #wctpa +
— + Shawn Hooper (@ShawnHooper) + September 26, 2015 +
+Thank you @codeception you just made my life easier #php #testing -
— Rock Lobster (@lorenzoferrara) August - 25, 2015 -
+Thank you + @codeception + you just made my life easier + #php + #testing +
— + Rock Lobster (@lorenzoferrara) + August 25, 2015 +