94 Commits

Author SHA1 Message Date
fc6f622d96 Fixed entry script name 2014-10-18 19:31:39 +04:00
51300fc93b Used aliases for fixture directory definitions 2014-08-26 01:51:58 +04:00
b82d32c1ef Used a single database and a single CLI entry point for all test types. Added faker to basic app dev requirements. 2014-08-25 02:01:05 +04:00
f5ee8e4583 Added faker to basic app console commands, adjusted readme to mention database setup 2014-08-24 15:26:57 +04:00
c9d51ee0fd Adjusted testing namespaces in application templates 2014-08-24 14:14:35 +04:00
5d67ac4452 Renamed YII_ROOT_DIR → YII_APP_BASE_PATH 2014-08-19 20:42:40 +04:00
480b03beb7 Prefixed constants to avoid possible naming conflicts 2014-08-18 01:56:36 +04:00
67c5894b2b Fixed copyright year in batch files 2014-08-17 18:55:24 +04:00
c33214b35d Adjusted test configs structure 2014-08-17 18:45:58 +04:00
c0a83142bf Exposed basic app entry URL via codeception.yml, refactored configs of advanced app to read from config and define entry script in a single place 2014-08-16 18:38:56 +04:00
cef430af01 Renamed guy classes to actors, fixed phpdoc and code style 2014-08-16 18:15:41 +04:00
1bf6843d08 Removed db module from basic app, renamed _helpers to _support and _logs to _output 2014-08-16 17:16:05 +04:00
7eb403bf45 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
10747196a2 Codeceoption adjustments
- Removed hacks since these are no longer required: 71db233985
- Removed unused helper classes
- Added 2.0 style "actor" to config

Thanks to @Ragazzo and @DavertMik for helping with it.
2014-07-11 19:30:45 +04:00
98d3a8c050 Fixes #4252, Fixes #3171 Fixed Codeception 2014-07-11 01:27:28 +04:00
2f19030e37 Switched to Codeception 2.0.* for application template tests 2014-07-02 14:44:31 +03:00
0ff0f9d32e Missing files for #4071 2014-06-26 18:28:57 +04:00
2457e24795 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
01ddac64ec basic application template fixtures added 2014-06-09 16:33:36 +04:00
4498ccd417 basic application template tests adjusted 2014-06-09 16:10:16 +04:00
0456cd660a Add wait() to login test with wrong credentials to fix WebDriver test 2014-04-04 12:16:17 +02:00
ab799d8ea9 Fixes #2911: Removed tbl_ default for table prefix 2014-03-30 19:33:46 +04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
386979d6a3 Revert "Used ternary operator instead of "or" for constant definition"
This reverts commit 2bb6f13505e212d68841a7e6609806fb30d04002.
2014-03-06 01:56:51 +04:00
2bb6f13505 Used ternary operator instead of "or" for constant definition 2014-03-04 22:17:11 +04:00
9e483b6461 added server name, for creating url rules 2014-02-27 18:37:34 +04:00
a7fc9143bf Closing and opening braces in Yii2 coding standards. 2014-02-24 20:32:15 +04:00
5d14d788f5 Further coding standards fixes. 2014-02-24 20:17:38 +04:00
b560398bd7 Coding standards fixes. 2014-02-24 18:45:35 +03:00
22bfd43124 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
96f2f6e52e visibility changed 2014-02-14 18:08:07 +04:00
c943fc28e2 forcing user component to logout 2014-02-14 18:05:56 +04:00
9db3790bb2 Fixed test break. 2014-02-13 21:18:43 -05:00
270669aa22 fixed test break. 2014-02-13 20:00:12 -05:00
78e4da8c1f Fixed test break. 2014-02-13 19:37:49 -05:00
c6a3c4bc0d added yii console command to tests 2014-02-09 19:04:26 +04:00
a3b71def38 Reordered items 2014-02-07 18:58:17 +03:00
874f9c1a21 Reverted numbered list 2014-02-07 19:44:28 +04:00
756c268cb3 Fixed list in tests readme 2014-02-07 19:40:25 +04:00
0631e117ba Updated readme in apps/basic/tests 2014-02-07 19:36:20 +04:00
2fbd34c0de CS fix. 2014-02-06 20:39:55 -05:00
9e770acd7e tests improved 2014-02-07 05:36:46 +04:00
cf1fe7d27d code fix 2014-02-07 05:34:33 +04:00
bf5bb3730e tests improved 2014-02-07 05:22:11 +04:00
f352aa47cc docs added 2014-02-07 04:24:58 +04:00
af53c0f818 doc update. 2014-01-22 11:09:59 -05:00
9bde3ab613 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
362ade63ed fixed test break. 2014-01-20 11:52:50 -05:00
b496a04f49 refactored fixture feature. 2014-01-19 23:17:53 -05:00
7d33a5d3b5 Some Code style fixes 2014-01-19 13:35:36 -03:00