Nazar Holubovskyy
6c12534a70
Bug: rm "blacklist" from the codeception.yml; corrected "TESTING" instruction in README.md ( #231 )
2020-09-05 21:58:16 +03:00
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
Maarten van Middelaar
d355029d02
Remove setting cleanup false ( #183 )
...
It is not clear why cleanup is set to false in the template. ActiveFixture fixture data is not loaded when a previous test had fixtures.
2018-06-14 02:11:36 +03:00
Alexander Kozhevnikov
4f8ae448fe
Fix remote_config path in codeception.yml ( #114 )
...
`../tests/codeception.yml` does not exist, using `../codeception.yml` works
2017-03-27 18:08:01 +03:00
Robert Korulczyk
2e12823e83
Fix codeception tests ( #94 )
2016-11-01 23:03:33 +03:00
Mihai-P
ebfe2aec0c
Putting the proper paths for codeception code coverage ( #82 )
...
The tests folder was changed some time ago, however the paths have not been updated. After running the tests with coverage
$ vendor/codeception/base/codecept run functional --coverage-html
Codeception PHP Testing Framework v2.2.3
Powered by PHPUnit 4.8.27 by Sebastian Bergmann and contributors.
Functional Tests (10) -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
✔ ContactFormCest: Open contact page (0.40s)
✔ ContactFormCest: Submit empty form (0.13s)
✔ ContactFormCest: Submit form with incorrect email (0.09s)
✔ ContactFormCest: Submit form successfully (0.30s)
✔ LoginFormCest: Open login page (0.03s)
✔ LoginFormCest: Internal login by id (0.06s)
✔ LoginFormCest: Internal login by instance (0.05s)
✔ LoginFormCest: Login with empty credentials (0.07s)
✔ LoginFormCest: Login with wrong credentials (0.07s)
✔ LoginFormCest: Login successfully (0.07s)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Time: 6.46 seconds, Memory: 34.25MB
OK (10 tests, 23 assertions)
Code Coverage Report:
2016-08-09 22:21:18
Summary:
Classes: (0/0)
Methods: (0/0)
Lines: (0/0)
Remote CodeCoverage reports are not printed to console
HTML report generated in coverage.
-----------------------------------------------------------
After putting in the proper path you get
Code Coverage Report:
2016-08-09 22:26:05
Summary:
Classes: 40.00% (2/5)
Methods: 63.64% (14/22)
Lines: 76.04% (73/96)
\app\controllers::SiteController
Methods: 57.14% ( 4/ 7) Lines: 89.47% ( 34/ 38)
\app\models::ContactForm
Methods: 100.00% ( 3/ 3) Lines: 100.00% ( 15/ 15)
\app\models::LoginForm
Methods: 100.00% ( 4/ 4) Lines: 100.00% ( 18/ 18)
\app\models::User
Methods: 42.86% ( 3/ 7) Lines: 40.00% ( 6/ 15)
Remote CodeCoverage reports are not printed to console
2016-08-10 01:45:16 +03:00
Davert
c6dd7c8790
merged with master
2016-07-16 04:33:10 +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
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
Mark
84da8ffa89
colors added
2013-12-02 15:24:33 +04:00
Qiang Xue
be56a9c542
changed color setting.
2013-11-14 15:36:38 -05:00
Qiang Xue
955f351e6d
Added acceptance tests for the basic app.
2013-06-22 20:26:22 -04:00