1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

7 Commits

Author SHA1 Message Date
Deltik
10019cec74
Better local env config to avoid VCS conflicts
Local environments can now be configured with ./config.yml with a sample
configuration available in ./config.sample.yml
2018-02-16 07:04:03 -06:00
Deltik
f080402675
Reconfigured modules now run _beforeSuite()
Platform-independent SQL dump importing works now because
Helper\DelayedDb is now running _beforeSuite() after being reconfigured.

Fixes: #1
2018-02-14 13:43:24 -06:00
Deltik
d0acabcbe5
Added code coverage support and a unit test 2018-02-13 07:53:31 -06:00
Deltik
b18ef3f830
Ready for testing!
e107 is now ready for fully automated testing on all three test suites:

* Acceptance
* Functional
* Unit

New features:

* cPanelDeployer adds a cPanel Remote MySQL access host
* e107 database dump importer
* Unit tests now load e107

Fixes:

* Test prefixes now only use characters valid for MySQL/MariaDB without
  escaping
* Refactored a bunch of things
* All existing tests pass now

Changes:

* Deployers now provided by \Helper\DeployerFactory
* Added Twig templating for generating e107_config.php for testing
* cPanelDeployer now outputs to codecept_debug()
2018-02-12 13:17:17 -06:00
Deltik
495145df61
Added automatic database support to all suites
Refactored by extracting code common to all suites to \Helper\Base

New \Helper\DelayedDb helper to delay initialization so that a new DSN,
username, and password can be loaded in dynamically for automatic
database provisioning.  Should still be compatible with manual database
information in codeception.yml
2018-02-09 06:45:23 -06:00
Deltik
ee84c3de76
Partial support for cPanel acceptance tests
via lib/prepare_cpanel.php
2018-02-07 05:04:28 -06:00
Deltik
ec1de555df
Bootstrapped Codeception 2018-02-06 04:08:52 -06:00