Commit Graph

566 Commits

Author SHA1 Message Date
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
Alexander Makarov
e0954011ce Added "cd tests" as suggested in https://github.com/yiisoft/yii2-app-basic/issues/63#issuecomment-230354273 2016-07-05 01:17:16 +03:00
Alexander Makarov
d579eb6434 Changed php -S to ./yii serve in tests readme 2016-07-02 20:22:42 +03:00
Alexander Makarov
e6cdaa5a1a Fixed test to mock form properly 2016-07-02 20:13:40 +03:00
Alexander Makarov
c200693b05 Fixes #62: Changed usage of deprecated getMock() to current createMock() 2016-07-02 19:51:35 +03:00
Kalinin Alexandr
ddeab345bb Update SiteController.php (#61) [skip ci] 2016-06-19 16:56:22 +03:00
Carsten Brandt
8129163195 Merge pull request #58 from damasco/master
fixed link for AcceptanceTest Selenuim Webdriver
2016-05-24 15:19:33 +02:00
Bulat Damdinov
dd0c43247f fixed link for AcceptanceTest Selenuim Webdriver 2016-05-24 18:14:58 +08:00
Carsten Brandt
655b5c3502 prepare for next release 2016-04-28 18:06:57 +02:00
Carsten Brandt
6962834f37 release version 2.0.8 2016-04-28 18:06:20 +02:00
Alexander Makarov
af67434e7e Fixed links in CONTRIBUTING.md 2016-04-14 11:45:53 +03:00
Alexander Makarov
c8afc49aad Merge pull request #52 from damasco/master
#51 logout btn
2016-03-23 15:22:23 +03:00
Bulat Damdinov
c97c8c605d #51 logout btn 2016-03-23 19:55:38 +08:00
Alexander Makarov
27fbea32d8 Added issue templates 2016-03-21 22:10:54 +03:00
Alexander Makarov
f002567220 Removed unnecessary slash 2016-03-09 18:47:19 +03:00
Carsten Brandt
acb438affb prepare for next release 2016-02-14 15:56:44 +01:00