Mark Ragazzo
aa583103a6
doc fix
2014-12-10 22:46:53 +04:00
Mark Ragazzo
c662755199
added code coverage ti yii2_basic
2014-12-10 22:44:27 +04:00
Anton Andersen
6b4ad97e43
Fixes #6103 : Improved codeception config in app templates to ease testing of advanced app on multiple hosts
2014-11-27 14:02:04 +03:00
Mark Ragazzo
995c79103d
fixed fixture controller config for applications
2014-11-07 23:20:03 +04:00
Alexander Makarov
c6908c8b43
Fixes #4827 : default config for functional tests of both basic and advanced app now turns off CSRF validation while providing commented out alternative setting cookie domain to localhost
2014-10-28 02:03:02 +03:00
Alexander Makarov
e8aed03f1a
Fixed entry script name
2014-10-18 19:31:39 +04:00
Alexander Makarov
58842e3a24
Used aliases for fixture directory definitions
2014-08-26 01:51:58 +04:00
Alexander Makarov
459ac478a2
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
Alexander Makarov
2e9a0839dd
Added faker to basic app console commands, adjusted readme to mention database setup
2014-08-24 15:26:57 +04:00
Alexander Makarov
a3efcafd38
Adjusted testing namespaces in application templates
2014-08-24 14:14:35 +04:00
Alexander Makarov
6b67d0ec52
Renamed YII_ROOT_DIR → YII_APP_BASE_PATH
2014-08-19 20:42:40 +04:00
Alexander Makarov
f85a0f7dd2
Prefixed constants to avoid possible naming conflicts
2014-08-18 01:56:36 +04:00
Alexander Makarov
bc2ec5c684
Fixed copyright year in batch files
2014-08-17 18:55:24 +04:00
Alexander Makarov
229c352f78
Adjusted test configs structure
2014-08-17 18:45:58 +04:00
Alexander Makarov
e7dcdf7c71
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
Alexander Makarov
3673e6c004
Renamed guy classes to actors, fixed phpdoc and code style
2014-08-16 18:15:41 +04:00
Alexander Makarov
9460b93de2
Removed db module from basic app, renamed _helpers to _support and _logs to _output
2014-08-16 17:16:05 +04: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
539a6f0c59
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
Alexander Makarov
8e1d70c4d4
Fixes #4252 , Fixes #3171 Fixed Codeception
2014-07-11 01:27:28 +04:00
Alexander Makarov
0c8c520cbb
Switched to Codeception 2.0.* for application template tests
2014-07-02 14:44:31 +03:00
Alexander Makarov
aa6c41046e
Missing files for #4071
2014-06-26 18:28:57 +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
Paul van Schayck
bcf51a1156
Add wait() to login test with wrong credentials to fix WebDriver test
2014-04-04 12:16:17 +02: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
Mark
be3c8c5e80
added server name, for creating url rules
2014-02-27 18:37:34 +04: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
Qiang Xue
d9ff05cb75
Fixed test break.
2014-02-13 21:18:43 -05:00
Qiang Xue
dd0a8defbf
fixed test break.
2014-02-13 20:00:12 -05:00
Qiang Xue
41685fe8df
Fixed test break.
2014-02-13 19:37:49 -05:00
Mark
58de43ef0f
added yii console command to tests
2014-02-09 19:04:26 +04:00
Alexander Makarov
e5195ef76e
Reordered items
2014-02-07 18:58:17 +03:00
Alexander Makarov
30fc6f00fd
Reverted numbered list
2014-02-07 19:44:28 +04:00
Alexander Makarov
8ddd77d31a
Fixed list in tests readme
2014-02-07 19:40:25 +04:00
Alexander Makarov
7fd54ec5ed
Updated readme in apps/basic/tests
2014-02-07 19:36:20 +04:00
Qiang Xue
042ba3f435
CS fix.
2014-02-06 20:39:55 -05:00
Mark
5f6a9d4a66
tests improved
2014-02-07 05:36:46 +04:00
Mark
e877a23aad
code fix
2014-02-07 05:34:33 +04:00
Mark
1cc276076a
tests improved
2014-02-07 05:22:11 +04:00
Mark
d703b819b8
docs added
2014-02-07 04:24:58 +04:00
Qiang Xue
c710fe7dba
doc update.
2014-01-22 11:09:59 -05: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
Qiang Xue
d9069fc8a9
path fixes.
2014-01-10 21:58:50 -05:00
Mark
dfc28ef46b
fixed readme
2014-01-06 01:21:06 +04:00
Carsten Brandt
8740490848
enabled acceptance tests for basic application
2014-01-05 13:01:24 +01:00
Mark
e460d4b241
tests improved, verify added
2014-01-05 03:12:40 +04:00
Carsten Brandt
66b8e92540
Merge pull request #1759 from Ragazzo/fixtures_controller_improvements
...
Added to the basic app, fixed config, added to core commands.
2014-01-03 14:22:51 -08:00
Carsten Brandt
ddee0621ec
Reverted config change
...
change was made in 0d263a12a9dbf3f0cb8569db40f0581dc002285b
issue #1744
2014-01-03 23:07:50 +01:00
Carsten Brandt
7579336af6
added .travis.yml to basic app
...
issue #1744
2014-01-03 22:51:30 +01:00
Mark
86d0e987a5
Added to the basic app, fixed config, added to core commands.
2014-01-04 01:16:05 +04:00
Carsten Brandt
f7116a0339
changed composer to require-dev codeception
2014-01-03 01:47:34 +01:00
Mark
5e023a39a3
docs fix
2014-01-02 11:04:07 +04:00
Mark
49ec2729a6
added info about setting testing environment
2014-01-02 11:02:48 +04:00
Qiang Xue
6ffc766bed
Merge pull request #1714 from Ragazzo/tests_improved
...
modified tests, improved configuration, introduced aspect
2013-12-31 11:16:51 -08: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
Vladimir Zbrailov
ae60df4599
move showScriptName into the common config of tests
2013-12-31 16:21:15 +04:00
Mark
fc0df16f47
modified tests, improved configuration, introduced aspect mock and specify.
2013-12-31 00:17:36 +04:00
Qiang Xue
64bb3cde39
removed duplicated test config.
2013-12-30 10:15:15 -05: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
ab34eaa4f9
Fixes #1685 : UrlManager::showScriptName should be set true for tests.
2013-12-29 10:31:34 -05:00
Qiang Xue
cdbafcfda2
Simplified tests.
2013-12-28 19:26:18 -05:00
Qiang Xue
35464e4fbf
Fixes #1604 : fixed URL and cookie problems. Refactored tests.
2013-12-28 15:04:08 -05:00
Qiang Xue
9aafc457dc
fixed functional test when enablePrettyUrl is false.
2013-12-27 00:49:26 -05:00
Qiang Xue
628caf85b9
test refactoring.
2013-12-18 00:40:52 -05:00
Qiang Xue
0acc59170f
Refactored codeception/BasePage.
2013-12-17 23:43:43 -05:00
Carsten Brandt
3c07648ba2
updated codeception docs. fixes #1558
2013-12-17 17:27:42 +01:00
Carsten Brandt
39d5bd044e
finished codeception extension
2013-12-17 01:00:13 +01:00
Carsten Brandt
8eb088355b
adjusted tests to run on php browser and selenium
2013-12-17 00:46:46 +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
8d93daf571
removed extra line.
2013-11-14 12:42:27 -05:00
Qiang Xue
2dc8a4cc98
Added readme and updated test helper classes.
2013-11-14 11:11:51 -05:00
Qiang Xue
fa1061d95b
Added readme about tests.
2013-11-14 11:05:09 -05:00
Carsten Brandt
575c3852f1
more on short array syntax
2013-10-22 11:30:39 +02:00
Yakir Sitbon
4023798e42
Convert to short syntax [2].
2013-10-18 12:03:36 +00:00
Qiang Xue
949c567387
Fixes #624 : renamed www to web.
2013-07-25 07:57:49 -04:00
Qiang Xue
ec38fc6345
Added functional tests for the basic app.
2013-06-23 19:26:16 -04:00
Qiang Xue
bdfa3860ed
Adjust for test integration.
2013-06-23 15:03:59 -04:00
Qiang Xue
955f351e6d
Added acceptance tests for the basic app.
2013-06-22 20:26:22 -04:00