Permalink
Commits on May 22, 2017
  1. Merge branch '2.2'

    # Conflicts:
    #	src/Codeception/Module/Db.php
    DavertMik committed May 22, 2017
  2. updated documentation

    DavertMik committed May 22, 2017
  3. Detailed installation instructions (#4236)

    * Detailed installation instructions
    
    Taken from #4233
    
    * Minor correction
    
    * Made it clearer how to set up a new page
    
    2 remarks:
    * Do you have an URL for the glue framework?
    * The next sentence I don't understand:
    
    > For regression testing, and real world HTML page examples that you can add a html page into `tests/data/app/view/form/exampleX.php` file and add its name to routes.
    
    * Added browser-URL
    
    * Removed the animated slideshow image
    
    It's really annoying and makes it hard to concentrate on the text ;-) I guess, anybody can imagine what a slideshow would look like...
    
    * Minor rewording
    
    Question: When using PhantomJS, Selenium is not involved at all, right? If true, the heading "Selenium WebDriver" is misleading and should be changed to "WedDriver (Selenium or PhantomJS)", plus some similar changes at http://codeception.com/docs/modules/WebDriver
    
    * Added recommendation for Recorder Extension
    
    The link to the WebDriver protocol is outdated: https://code.google.com/p/selenium/wiki/JsonWireProtocol
    
    * Rewording of the documentation
    
    Questions:
    * "clean a database before each test.": The db is cleaned before every single test? Or just once for every `codecept run`?
    
    * I don't understand this:  
    > That's why this module was added to the global configuration file `codeception.yml`. To have your database properly cleaned you should configure it to access the database.
    Do you mean: Configuration has to be done in `codeception.yml`? Or that it's enabled by default (not for me!)?
    
    * Will this now be changed on http://codeception.com/docs/modules/Db automatically? I'm confused since https://github.com/Codeception/Codeception/blob/2.2/docs/modules/Db.md exists too...
    
    * Added link to Db Module
    
    * Added recommendation for Recorder Extension
    
    Implementing 733c797
    
    * Minor explanation
    
    See #4238 (comment)
    
    * Info on browser window close
    
    See #4238 (comment)
    ThomasLandauer committed with DavertMik May 22, 2017
  4. Minor language improvement (#4233)

    Please help (I'm starting to work on #4231 ):  
    I've cloned the project locally, how can I run the tests?
    ThomasLandauer committed with DavertMik May 22, 2017
  5. Removed PHPUnit test generator (#4234)

    * Removed generate:phpunit command to avoid PHPUnit version conflicts
    
    * updated commands and tests
    DavertMik committed on GitHub May 22, 2017
  6. Merge branch 'master' of github.com:Codeception/Codeception

    DavertMik committed May 22, 2017
  7. Merge branch '2.2'

    DavertMik committed May 22, 2017
  8. Merge branch '2.2' of github.com:Codeception/Codeception into 2.2

    DavertMik committed May 22, 2017
  9. Deleted example for *public* dataprovider function (#4232)

    See #4225 (comment)
    
    BTW: Is http://codeception.com/docs/07-AdvancedUsage not updated in real-time from `07-AdvancedUsage.md`? I still see the old version there...
    ThomasLandauer committed with DavertMik May 22, 2017
  10. [REST] Don't fail dontSee*JsonPath assertions when response is scalar…

    … value (#4239)
    
    
    Closes #4237
    Naktibalda committed with DavertMik May 22, 2017
  11. db dump populator (#4230)

    * Add ability to load the dump using a tool/command
    
    The db module now accepts a `dumptool` configuration item
    where the user can enter a command to execute his/her prefered
    tool or wrapper script.
    The dsn is parsed into variables and are made available, with
    the variables from the module configuration, to the command
    for interpolation, allowing the executing of commands like:
    
    `dumptool: 'mysql -u $user -p $password -h $host -D $dbname < $dump'`
    
    The sqlite module has been cleaned up to respect the reconnect
    settings and to aviod dependency on the order of the execution
    of its parent method. Mainly because there is no need to "reload"
    the connection when touching the sqlite db file...
    
    * Add ability to load the dump using a populator command
    
    The db module now accepts a populator configuration item
    where the user can enter a command to execute his/her prefered
    tool or wrapper script to load the dump.
    
    The dsn is parsed into variables and are made available, with
    the variables from the module configuration, to the command
    for interpolation, allowing the executing of commands like:
    
    dumptool: 'mysql -u $user -p $password -h $host -D $dbname < $dump'
    
    The Db module test has been structured in order to test individual
    drivers features.
    
    * Remove useless dbTest
    
    * Fix sqlite dump
    
    * Add cleaning and loading tests
    
    * small refactoring, disabled Sqlite populator test on wercker ci, try to fix sqlite on travis
    
    * chaned perissions for file
    
    * fixed tests, refactored populator, updated docs
    
    * made populated protected property back again
    
    * enabled db tests on Windows (Appveyor CI)
    
    * fixed test for PHP 5.4
    
    * * restored populate: true for Db tests
    * implemented code review suggestions
    * updated documenation
    
    * cleanup between db tests
    
    * fixed tests
    
    * fixed php 5.4 tests
    
    * minor updates
    DavertMik committed on GitHub May 22, 2017
  12. Installation Templates (#4216)

    * refactored trait
    
    * refactored filesystem trait
    
    * created acceptance init template
    created base init template class
    
    * reformatted code
    
    * reformatted code
    
    * Bootstrap refactored to be an Init Template
    
    * codestyle fixes
    
    * stupid bug fix
    
    * fixed tests, replaced path log with output
    
    * Added template for unit tests
    
    * Added shuffle:true to unit
    Added API template
    
    * tested Api,Acceptance templates
    added more tests to boostrap
    fixed configuration merge issues
    
    * updated unit template and changed default test generator
    
    * updated bootstrap tests
    
    * fixed getting proper paths on windows
    
    * fixed Windows issues
    
    * fixed Cest test for Windows
    DavertMik committed on GitHub May 22, 2017
Commits on May 20, 2017
  1. updated changelog

    DavertMik committed May 20, 2017
  2. Merge branch '2.2'

    DavertMik committed May 20, 2017
  3. Add in Doctrine module the possibility to grab Doctrine entities (#4030)

    * Add in Doctrine module the possibility to grab Doctrine entities instead of just field values
    
    * Remove grabEntitiesFromRepository from interface + Single result for grabEntityRepository
    
    * Fix typo on phpDoc
    maximelebastard committed with DavertMik May 20, 2017
  4. [PhpBrowser] Fixed redirecting to schemaless url (#4218)

    Naktibalda committed with DavertMik May 20, 2017
  5. [REST] seeResponseContainsJson doesn't crash when json response is no…

    …t array (#4217)
    
    * [PhpBrowserRestTest] converted arrays to short syntax
    
    * [REST] seeResponseContainsJson don't crash when json response is not array #4202
    Naktibalda committed with DavertMik May 20, 2017
  6. Redis module default configuration must be more foolproof. (#4229)

    * Minor (language) corrections (#4224)
    
    * Make redis module configuration more foolproof.
    hchonan committed with DavertMik May 20, 2017
  7. Merge branch '2.2'

    DavertMik committed May 20, 2017
  8. Update 07-AdvancedUsage.md (#4219)

    devonliu02 committed with DavertMik May 20, 2017
  9. DotReporter and dynamic loading of extensions (#4222)

    * Added --ext option to enable extensions dynamically
    Added DotReporter extension
    Removed SimpleOutput extension
    
    * returned back SimpleOutput, renamed it to SimpleReporter
    Enabled multiple --ext options
    Added test for --ext option
    DavertMik committed on GitHub May 20, 2017
  10. Don't skip other tests after failed test (#4226)

    Fixed condition which is checking if error happened in before
    Closes #4223
    Naktibalda committed with DavertMik May 20, 2017
  11. Minor improvements (#4225)

    * Minor improvements
    
    * Minor improvements
    
    * Minor improvements
    
    * Minor improvements
    
    * Please double-check!
    
    What was meant by WebDriver not being able to "perform HTTP requests"?
    
    * Minor improvements
    
    * Explained stopping after failed assertions
    
    * Minor improvements
    
    * Minor improvements
    
    * Please double-check
    
    Is it a separate transaction for each test? Or one transaction for all the tests?
    
    Plus: Please explain how this is to be done: "If it’s not your required behavior, change the settings of the Db module for the current suite."
    
    * Minor improvements
    
    * Minor improvements
    
    * Shortened the _pageProvider codeblock
    
    Please explain: What's the advantage of having a *public* method for the data provider? Why would somebody want to have this?
    
    * Minor improvements
    
    * Some improvements
    ThomasLandauer committed with DavertMik May 20, 2017
  12. [WIP] Suites config flexibility (#4214)

    * Allow to set a custom path to suite
    Allow to have tests without actors
    
    * updated generators to exclude actors if not provided
    improved tests
    
    * added _support directory
    
    * replaced class_name with actor in suite config
    
    * replaced actor with actorSuffix for global config
    
    * renamed actorSuffix to actor_suffix
    
    * fixed tests
    
    * codefixes
    
    * fixed hhvm test
    
    * fixed tests
    DavertMik committed on GitHub May 20, 2017
Commits on May 17, 2017
  1. Minor (language) corrections (#4224)

    ThomasLandauer committed with DavertMik May 17, 2017
Commits on May 13, 2017
  1. Merge branch '2.2'

    DavertMik committed May 13, 2017
Commits on May 11, 2017
  1. version bump, docs updated

    DavertMik committed May 11, 2017
  2. updated changelog, version bump, docs generated

    DavertMik committed May 11, 2017
  3. Release 2.2.11 (#4205)

    * Updated docs for findClickable
    
    * * updated changelog
    * lowered PHPUnit support back to 5.x to avoid potential issues in patch release. Will be enabled back in 2.3.0
    DavertMik committed on GitHub May 11, 2017
  4. fix haveFakeRepository in the doctrine module (#4212)

    * fix haveFakeRepository in the doctrine module
    
    * add support for doctrine versions before 2.4.0
    laszlo-karpati committed with DavertMik May 11, 2017