Commit Graph

32 Commits

Author SHA1 Message Date
Jason McCallister
b4f23d82f5 Update the command for Faker
Updates the syntax for the command to composer require yii2-faker.
2015-10-21 18:06:24 -07:00
Yasser Hassan
4e8ed67326 Modified default @tests value and updated READMEs. 2015-10-21 03:07:07 +02:00
Carsten Brandt
bea667efdc updated tests readme
close #4
2015-08-06 00:21:54 +02:00
alcaneo
e01b9d1cbd Missing directory separator in config file path
Ugly typo, my bad sorry
2015-08-04 10:49:22 +02:00
alcaneo
5598a50160 Add step to setup config file path in c3.php
Hi,

I've been struggling in making remote code coverage work and I finally figured out that the config file path was wrong.
I haven't seen any documentation telling to update that path (weird).

Furthermore, it is kind of impossible to debug as it generates a corrupted tar file (because of the error generated by the wrong config file path probably) that ends up by having an non-related error message (like "unable to decompress gzipped phar archive").

There is another way to do it, by setting the env var HTTP_X_CODECEPTION_CODECOVERAGE_CONFIG but, even though I don't like changing manually c3.php, I still prefer that than using env var as it wouldn't be linked anymore with your project but with your environment (that can be shared with other projects) settings.
And I don't know if it would be possible that codeception set this var (as it actually knows the path) to make it available to c3.php, in fact I haven't seen anything setting this var up in codeception code.

Cheers,
Nico
2015-08-04 10:18:35 +02:00
Carsten Brandt
9954bb3b51 be more clear about migrations 2015-05-10 01:17:26 +02:00
Carsten Brandt
a8719e2ef3 Update README.md
fixed markdown to display steps correctly.
2015-05-10 01:01:36 +02:00
Mark Ragazzo
aef33fd969 fixed docs 2014-12-10 23:01:08 +04:00
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
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
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
0c8c520cbb Switched to Codeception 2.0.* for application template tests 2014-07-02 14:44:31 +03: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
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
Mark
dfc28ef46b fixed readme 2014-01-06 01:21:06 +04:00
Mark
e460d4b241 tests improved, verify added 2014-01-05 03:12:40 +04:00
Carsten Brandt
7579336af6 added .travis.yml to basic app
issue #1744
2014-01-03 22:51:30 +01: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
35464e4fbf Fixes #1604: fixed URL and cookie problems. Refactored tests. 2013-12-28 15:04:08 -05:00
Carsten Brandt
3c07648ba2 updated codeception docs. fixes #1558 2013-12-17 17:27:42 +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
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