Commit Graph

531 Commits

Author SHA1 Message Date
Alexander Makarov
19b6143f05
Update fxp plugin version 2017-04-19 02:56:46 +03:00
Nikolay Oleynikov
2ac711fa20 Fix incorrect type hints (#115) [skip ci] 2017-04-11 15:47:45 +03:00
Alexander Kozhevnikov
4f8ae448fe Fix remote_config path in codeception.yml (#114)
`../tests/codeception.yml` does not exist, using `../codeception.yml` works
2017-03-27 18:08:01 +03:00
Nikolay Oleynikov
435508328b Create a .gitkeep file in the test data directory (#113) 2017-03-25 17:18:11 +03:00
Craig London
9178b80ab5 Add meta tag for X-UA-Compatible (#111) 2017-03-09 02:19:05 +03:00
Елисеев Дмитрий
bd7403c65e Added notes about running tests with Selenium Server 3.0 [skip ci] 2017-02-03 01:03:05 +03:00
Carsten Brandt
0453b5afb1
prepare for next release 2017-02-01 17:56:30 +01:00
Carsten Brandt
5bb6386a5e
release version 2.0.11 2017-02-01 17:55:52 +01:00
Carsten Brandt
9035c63988
do not use composer exec for running codeception
it produces weird behavior.

fixes #104
2017-02-01 11:29:32 +01:00
Carsten Brandt
b3e97d7940 Update web.php
to include example of 'allowedIps' for gii and debug module.

fixes https://github.com/yiisoft/yii2-debug/pull/30
2016-11-23 13:58:17 +01:00
MaximAL
0527d9edcc Fix error in Linux ln command: parameters rearranged (#97) 2016-11-23 10:57:10 +01:00
Evgeniy Tkachenko
679887a988 To fix create @webroot (#95)
https://github.com/Codeception/Codeception/issues/3706
2016-11-12 15:05:30 +03:00
Robert Korulczyk
2e12823e83 Fix codeception tests (#94) 2016-11-01 23:03:33 +03:00
Alexander Makarov
71b41b80bb Fixed yaml 2016-11-01 20:38:25 +03:00
Gintautas Miselis
fbb43d45bd Disable Yii2 cleanup in functional test suite (#93)
Because it is on by default since Codeception 2.2.6 and it breaks builds of Codeception
2016-11-01 20:16:18 +03:00
Carsten Brandt
15851900c6 prepare for next release 2016-10-20 14:10:54 +02:00
Carsten Brandt
fd3391bbcd release version 2.0.10 2016-10-20 14:10:38 +02:00
Елисеев Дмитрий
3971d0bb3a Fixed acceptance HomeCest (#91) 2016-10-19 16:42:29 +03:00
Joel Waldock
a43b2ff94f Increase logout button size (#89) 2016-10-14 00:13:07 +02:00
Mikhail
2ce52fbcd3 Update login.php (#87)
It's more consistent definition
2016-09-28 17:26:32 +02:00
SilverFire - Dmitry Naumenko
81700ad2b3 Updated fxp/ require version 2016-09-07 12:46:48 +03:00
Carsten Brandt
6cdf2bc5a0 updated version constraint in extension template
avoid unbound constraints

yiisoft/yii2#12154
2016-09-05 14:47:44 +02:00
Mihai-P
ebfe2aec0c Putting the proper paths for codeception code coverage (#82)
The tests folder was changed some time ago, however the paths have not been updated. After running the tests with coverage

$ vendor/codeception/base/codecept run functional --coverage-html
Codeception PHP Testing Framework v2.2.3
Powered by PHPUnit 4.8.27 by Sebastian Bergmann and contributors.

Functional Tests (10) -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
✔ ContactFormCest: Open contact page (0.40s)
✔ ContactFormCest: Submit empty form (0.13s)
✔ ContactFormCest: Submit form with incorrect email (0.09s)
✔ ContactFormCest: Submit form successfully (0.30s)
✔ LoginFormCest: Open login page (0.03s)
✔ LoginFormCest: Internal login by id (0.06s)
✔ LoginFormCest: Internal login by instance (0.05s)
✔ LoginFormCest: Login with empty credentials (0.07s)
✔ LoginFormCest: Login with wrong credentials (0.07s)
✔ LoginFormCest: Login successfully (0.07s)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Time: 6.46 seconds, Memory: 34.25MB
OK (10 tests, 23 assertions)

Code Coverage Report:
  2016-08-09 22:21:18

 Summary:
  Classes:        (0/0)
  Methods:        (0/0)
  Lines:          (0/0)

Remote CodeCoverage reports are not printed to console

HTML report generated in coverage.
-----------------------------------------------------------
After putting in the proper path you get
Code Coverage Report:
  2016-08-09 22:26:05

 Summary:
  Classes: 40.00% (2/5)
  Methods: 63.64% (14/22)
  Lines:   76.04% (73/96)

\app\controllers::SiteController
  Methods:  57.14% ( 4/ 7)   Lines:  89.47% ( 34/ 38)
\app\models::ContactForm
  Methods: 100.00% ( 3/ 3)   Lines: 100.00% ( 15/ 15)
\app\models::LoginForm
  Methods: 100.00% ( 4/ 4)   Lines: 100.00% ( 18/ 18)
\app\models::User
  Methods:  42.86% ( 3/ 7)   Lines:  40.00% (  6/ 15)
Remote CodeCoverage reports are not printed to console
2016-08-10 01:45:16 +03:00
Michael Bodnarchuk
a322cdb0a5 Use URL helper in acceptance tests (#80)
Routing should be handled by URL helper
2016-08-04 14:32:04 +03:00
Igor Romanov
74361f1d71 Fixed command to run coverage in README.md (#79) 2016-08-04 09:51:06 +02:00
Dmitry Kulikov
c0ec50d6a5 Fixed paths in tests/bin/yii. Fixed typo in docs. (#76) 2016-07-27 12:05:48 +03:00
Alexander Makarov
67713f562d Removed composer.lock 2016-07-26 16:02:09 +03:00
Alexander Makarov
d7df546502 Fixed version constraints, adjusted readme, fixed formatting 2016-07-25 23:41:30 +03:00
Alexander Makarov
c8c49a8146 Merge branch 'notgosu-master' 2016-07-25 23:33:23 +03:00
Alexander Makarov
0c5eb8ba82 Merge branch 'master' of https://github.com/notgosu/yii2-app-basic into notgosu-master 2016-07-25 23:33:12 +03:00
Davert
ec184a572e updated travis config 2016-07-25 02:38:25 +03:00
Davert
3be9b8507d added codeception to deps 2016-07-25 02:25:42 +03:00
Davert
7154b917fd fixed travis config 2016-07-25 02:20:45 +03:00
Davert
b7526436aa added email verification for unit and functional tests 2016-07-19 03:53:55 +03:00
Alexandr
a25a953f8d Update contact.php (#74) 2016-07-19 00:54:42 +03:00
Davert
95bd8f4409 added tests for amLoggedIn method 2016-07-18 20:33:45 +03:00
Gintautas Miselis
3214a14ebf Added codeception/specify to require-dev (#72)
It was an indirect dependency and #57 made Codeception builds with --prefer-lowest fail: https://travis-ci.org/Codeception/Codeception/jobs/145152589#L1653
2016-07-17 22:31:32 +03:00
Davert
c6dd7c8790 merged with master 2016-07-16 04:33:10 +03:00
Davert
37c9dfcfd8 removed test key from config, removed generated actions traits 2016-07-16 04:30:11 +03:00
Davert
0ef627f7de refactored tests 2016-07-16 04:13:51 +03:00
Tobias Munk
78909b0545 fixed typo in example config (#70)
see also http://codeception.com/docs/11-Codecoverage
2016-07-14 22:18:27 +03:00
Davert
4f8f207a6d Merge branch 'refactorin' 2016-07-14 21:03:37 +03:00
Davert
b1015559e0 refactoring 2016-07-14 21:03:28 +03:00
Davert
4a7f3dfb55 Merge branch 'master' of github.com:notgosu/yii2-app-basic 2016-07-14 21:02:53 +03:00
Maxim Shcherbakov
aaee0841e1 Acceptance tests refactoring (#1) 2016-07-14 18:20:28 +02:00
Oleg Kostiushko
75a273eb40 Acceptance test refactoring - Contact form (#2)
* directory _support should exists before build with ignore inside

* added test for contact page availability

* added test for empty contact form submit

* added test for submit contact form

* remove test contact page

* delete old contact page test

* test index-test instead index

* change stage description
2016-07-14 18:19:59 +02:00
Davert
71ee8a08a0 dependencies should be stable 2016-07-14 17:20:08 +03:00
Carsten Brandt
548af0eacd prepare for next release 2016-07-11 15:43:58 +02:00
Carsten Brandt
5319c23281 release version 2.0.9 2016-07-11 15:43:39 +02:00
Mohamed Cherif Bouchelaghem
6545745e88 configure Codeception::Scpecify to not deep clone properties by default (#57) 2016-07-11 14:43:55 +02:00