Commit Graph

44 Commits

Author SHA1 Message Date
Gintautas Miselis
660ebb41df Upgrade to Codeception 4.0 (#218)
* Use modular Codeception 4.0
* Moved bootstrap setting to top level

Because old location is deprecated
See https://bit.ly/2YrRzVc

* Use stringContainsString instead of contains

Because using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9.

* Removed 5.4 and 5.5
2019-11-22 22:02:47 +03:00
Alexander Makarov
3076318d05
Fixed contact form tests 2019-04-23 15:31:43 +03:00
Ricardo Pérez
069ec1f6d0 Fix namespaces in unit tests (#171) 2019-01-27 23:30:35 +03:00
Aleksandar Belic
a31ee4418a Removing unused classes from unit test models. (#162) 2017-12-11 18:59:34 +03:00
Bulat Damdinov
c49a8554e8 Minor fixes of test files (#139) [skip ci] 2017-09-12 12:29:58 +03:00
Davert
b7526436aa added email verification for unit and functional tests 2016-07-19 03:53:55 +03:00
Davert
95bd8f4409 added tests for amLoggedIn method 2016-07-18 20:33:45 +03:00
Davert
0ef627f7de refactored tests 2016-07-16 04:13:51 +03:00
Davert
b1015559e0 refactoring 2016-07-14 21:03:28 +03:00
Alexander Makarov
c55a791237 Codeception test adjustments for basic and advanced applications
- Moved everything test-related into `tests` directory. Codeception tests are in `codeception`.
- Removed database module since we're using fixtures and migrations.
- Moved console entry points and bootstrap into `tests/codeception/bin`.
- Adjusted travis build scripts.
- Adjusted documentation to be consistent and reflect changes made.
2014-08-15 19:09:52 +04:00
Alexander Makarov
91f05a2891 Fixes #4071: mail component renamed to mailer, yii\log\EmailTarget::$mail renamed to yii\log\EmailTarget::$mailer 2014-06-26 18:28:28 +04:00
Mark
66a9e874ca basic application template fixtures added 2014-06-09 16:33:36 +04:00
Mark
7a467ed501 basic application template tests adjusted 2014-06-09 16:10:16 +04:00
Alexander Makarov
1b8ef667f7 Fixes #2911: Removed tbl_ default for table prefix 2014-03-30 19:33:46 +04:00
SonicGD
93cc82c4bf Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
maximal
4e188239cf Closing and opening braces in Yii2 coding standards. 2014-02-24 20:32:15 +04:00
maximal
c2c3c22ff5 Further coding standards fixes. 2014-02-24 20:17:38 +04:00
MaximAL
94c6095df3 Coding standards fixes. 2014-02-24 18:45:35 +03:00
Qiang Xue
24151471d5 Merge pull request #2383 from Ragazzo/add_yii_command_to_tests
added yii console command to tests
2014-02-15 11:32:07 -05:00
Mark
2fe23bc740 visibility changed 2014-02-14 18:08:07 +04:00
Mark
d4b50fcf06 forcing user component to logout 2014-02-14 18:05:56 +04:00
Mark
58de43ef0f added yii console command to tests 2014-02-09 19:04:26 +04:00
Qiang Xue
ceabdffd57 Merge branch 'tests_improved_verify' of github.com:Ragazzo/yii2 into Ragazzo-tests_improved_verify
Conflicts:
	apps/basic/tests/README.md
	apps/basic/tests/unit/models/LoginFormTest.php
2014-01-22 09:27:11 -05:00
Qiang Xue
103375976b fixed test break. 2014-01-20 11:52:50 -05:00
Qiang Xue
19b2defb1a refactored fixture feature. 2014-01-19 23:17:53 -05:00
Luciano Baraglia
b40b962628 Some Code style fixes 2014-01-19 13:35:36 -03:00
Mark
e460d4b241 tests improved, verify added 2014-01-05 03:12:40 +04:00
Mark
86d0e987a5 Added to the basic app, fixed config, added to core commands. 2014-01-04 01:16:05 +04:00
Mark
832b7fa911 CS fix 2013-12-31 23:13:47 +04:00
Mark
ef23e05ba9 tests improved, aspect mock changes reverted 2013-12-31 23:02:10 +04:00
Mark
fc0df16f47 modified tests, improved configuration, introduced aspect mock and specify. 2013-12-31 00:17:36 +04:00
Qiang Xue
905e8ea4bc Fixes #1701. 2013-12-30 09:22:18 -05:00
Qiang Xue
4a63061213 Refactored unit tests. 2013-12-29 20:54:20 -05:00
Qiang Xue
749d72c33b fixed unit test config. 2013-12-29 16:25:22 -05:00
Qiang Xue
628caf85b9 test refactoring. 2013-12-18 00:40:52 -05:00
Carsten Brandt
39d5bd044e finished codeception extension 2013-12-17 01:00:13 +01:00
Carsten Brandt
f22abd70e2 removed auto generated files from repo 2013-12-17 00:45:25 +01:00
Carsten Brandt
09237c013e cleanup and re-aranged codeception tests for basic app
follow up to PR #1393
2013-12-17 00:27:33 +01:00
Mark
decab1d660 modified tests according yii2-codeception extension 2013-12-13 19:37:08 +04:00
Mark
e6ae361033 added testcase for unit tests, bootstrap files improved, tests inherited from base testcase 2013-12-03 11:07:36 +04:00
Mark
d2214e4f0a tests modified, bootstrap added 2013-12-02 15:25:21 +04:00
Panagiotis Moustafellos
08d456ae3f Only whitespace removal 2013-11-27 20:19:56 +02:00
Qiang Xue
2dc8a4cc98 Added readme and updated test helper classes. 2013-11-14 11:11:51 -05:00
Qiang Xue
955f351e6d Added acceptance tests for the basic app. 2013-06-22 20:26:22 -04:00