Anton Andersen
6c88467ac4
Fixes #6103 : Improved codeception config in app templates to ease testing of advanced app on multiple hosts
10 years ago
Mark Ragazzo
8af62ee97b
fixed fixture controller config for applications
10 years ago
Alexander Makarov
b829d9d45a
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
10 years ago
Alexander Makarov
fc6f622d96
Fixed entry script name
10 years ago
Alexander Makarov
51300fc93b
Used aliases for fixture directory definitions
10 years ago
Alexander Makarov
b82d32c1ef
Used a single database and a single CLI entry point for all test types. Added faker to basic app dev requirements.
10 years ago
Alexander Makarov
f5ee8e4583
Added faker to basic app console commands, adjusted readme to mention database setup
10 years ago
Alexander Makarov
c9d51ee0fd
Adjusted testing namespaces in application templates
10 years ago
Alexander Makarov
5d67ac4452
Renamed YII_ROOT_DIR → YII_APP_BASE_PATH
10 years ago
Alexander Makarov
480b03beb7
Prefixed constants to avoid possible naming conflicts
10 years ago
Alexander Makarov
67c5894b2b
Fixed copyright year in batch files
10 years ago
Alexander Makarov
c33214b35d
Adjusted test configs structure
10 years ago
Alexander Makarov
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
10 years ago
Alexander Makarov
cef430af01
Renamed guy classes to actors, fixed phpdoc and code style
10 years ago
Alexander Makarov
1bf6843d08
Removed db module from basic app, renamed _helpers to _support and _logs to _output
10 years ago
Alexander Makarov
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.
10 years ago
Alexander Makarov
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.
10 years ago
Alexander Makarov
98d3a8c050
Fixes #4252 , Fixes #3171 Fixed Codeception
10 years ago
Alexander Makarov
2f19030e37
Switched to Codeception 2.0.* for application template tests
10 years ago
Alexander Makarov
0ff0f9d32e
Missing files for #4071
10 years ago
Alexander Makarov
2457e24795
Fixes #4071 : `mail` component renamed to `mailer`, `yii\log\EmailTarget::$mail` renamed to `yii\log\EmailTarget::$mailer`
10 years ago
Mark
01ddac64ec
basic application template fixtures added
10 years ago
Mark
4498ccd417
basic application template tests adjusted
10 years ago
Paul van Schayck
0456cd660a
Add wait() to login test with wrong credentials to fix WebDriver test
11 years ago
Alexander Makarov
ab799d8ea9
Fixes #2911 : Removed `tbl_` default for table prefix
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Alexander Makarov
386979d6a3
Revert "Used ternary operator instead of "or" for constant definition"
...
This reverts commit 2bb6f13505
.
11 years ago
Alexander Makarov
2bb6f13505
Used ternary operator instead of "or" for constant definition
11 years ago
Mark
9e483b6461
added server name, for creating url rules
11 years ago
maximal
a7fc9143bf
Closing and opening braces in Yii2 coding standards.
11 years ago
maximal
5d14d788f5
Further coding standards fixes.
11 years ago
MaximAL
b560398bd7
Coding standards fixes.
11 years ago
Mark
96f2f6e52e
visibility changed
11 years ago
Mark
c943fc28e2
forcing user component to logout
11 years ago
Qiang Xue
9db3790bb2
Fixed test break.
11 years ago
Qiang Xue
270669aa22
fixed test break.
11 years ago
Qiang Xue
78e4da8c1f
Fixed test break.
11 years ago
Mark
c6a3c4bc0d
added yii console command to tests
11 years ago
Alexander Makarov
a3b71def38
Reordered items
11 years ago
Alexander Makarov
874f9c1a21
Reverted numbered list
11 years ago
Alexander Makarov
756c268cb3
Fixed list in tests readme
11 years ago
Alexander Makarov
0631e117ba
Updated readme in apps/basic/tests
11 years ago
Qiang Xue
2fbd34c0de
CS fix.
11 years ago
Mark
9e770acd7e
tests improved
11 years ago
Mark
cf1fe7d27d
code fix
11 years ago
Mark
bf5bb3730e
tests improved
11 years ago
Mark
f352aa47cc
docs added
11 years ago
Qiang Xue
af53c0f818
doc update.
11 years ago
Qiang Xue
362ade63ed
fixed test break.
11 years ago
Qiang Xue
b496a04f49
refactored fixture feature.
11 years ago