1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-10 15:42:42 +02:00

14 Commits

Author SHA1 Message Date
Nick Liu
6de885cd79
Updated documentation and renamed "cpanel" section to "hosting" 2018-08-16 09:15:47 -05:00
Nick Liu
3a0dd50e7c
Improved flexibility of codeception.yml
- MOD: Reduced code duplication in ./lib/config.php
- MOD: Replaced PHP 7.1 samples with PHP 7.2 samples in README.md
- NEW: ./config.sample.yml now supports customized database dumps, which
       affects the Codeception database populator
- NEW: Code coverage reports now take into account the configured
       `app_path`, which obviates a separate codeception.sample.yml file
       and reduces the complexity in setting up this test harness

@CaMer0n and @SimSync: I'm aware that you previously needed a separate
codeception.yml file because the coverage reports didn't use the
`app_path` from `config.yml`. This has been fixed. I'd like to keep just
one place for custom configurations (config.yml) so that we can keep
tests reproducible and avoid inconsistencies if/when codeception.yml
gets updated in the future.
2018-08-06 07:25:05 -05:00
Cameron
6445a29ad0
Update README.md 2018-02-16 10:54:15 -08:00
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
d0acabcbe5
Added code coverage support and a unit test 2018-02-13 07:53:31 -06:00
Deltik
954a5bce2d
Reordered README.md Quickstart
Should flow a bit more naturally now
2018-02-13 04:43:55 -06:00
Deltik
21acee0d12
Updated README.md with quickstart instructions 2018-02-12 17:42:14 -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
fabfc67f1b
Refactored cPanel Deployer: Defined components
cPanelDeployer is a bit easier to follow now that there is a concept of
components.
2018-02-08 10:07:03 -06:00
Deltik
a42025c5c6
First working acceptance test
Acceptance test checks the output of e107's /install.php on first load

Also added documentation on acceptance tests to README.md
2018-02-08 05:04:42 -06:00
Cameron
e689212e9e Some basic points 2018-02-04 18:54:22 -08:00
Cameron
c32696ae42 Initial working files. 2018-02-04 18:47:24 -08:00
Cameron
49f9240465
Initial commit 2018-02-04 15:45:27 -08:00