Skip to content

Latest commit

 

History

History
174 lines (140 loc) · 10.2 KB

CHANGELOG.md

File metadata and controls

174 lines (140 loc) · 10.2 KB

Changelog

2.0.8

  • Dependencies updated: facebook/php-webdriver 0.5.x and guzzle 5 2014-11-17
  • [WebDriver] Fixed selectOption and (dont)seeOptionIsSelected for multiple radio button groups by @MasonM. See #1467 2014-11-18
  • [WebDriver][PhpBrowser][Frameworks] Clicked submit button can be specified as 3rd parameter in submitForm method by @zbateson. See #1518
  • [ZF1] Format ZF response to Symfony\Component\BrowserKit\Response by @MOuli90. Fixes #1476
  • [PhpBrowser][Frameworks] fixed grabValueFrom method by @zbateson. See #1512
  • [Db] Fixed Postgresql error with schemas by @rafreis. Fixes #970
  • [PhpBrowser] Fix for meta refresh tags with interval by @zbateson. See #1515
  • [PhpBrowser][Frameworks] Fixed: grabTextFrom doesn't work with regex by @zbateson. See #1519
  • Cest tests support multiple @before and @after annotations. Thanks to @draculus and @zbateson. See #1517
  • [FTP] Stops test execution on failed connection by @yegortokmakov
  • [AMQP] Fix for purging queues on initialization stage. Check for open channel is not needed and it prevents from cleaning queue by @yegortokmakov
  • CodeCoverage remote context configuration added by @synchrone. See #1524 Documentation updated
  • Implemented better descriptions for error exception. Fix #1503
  • Added c3_url option to code coverage settings. c3_url allows to explicitly set url for index file with c3 included. See #1024
  • [PhpBrowser][Frameworks] Fixed selecting checkbock in a group of checkboxes #1535
  • [PhpBrowser][Frameworks] submitForm sends default values for radio buttons and checkboxes by @zbateson. Fixes #1507 2014-11-3
  • [ZF2] Close any open ZF2 sessions by @FnTm. See #1486 2014-10-24

2.0.7

  • [Db] Made the postgresql loader load $$ syntax correctly by @rtuin. See #1450 2014-10-12
  • [Yii1] fixed syntax typo in Yii1 Connector by @xt99 2014-10-12
  • [PhpBrowser][WebDriver] amOnUrl method added for opening absolute urls. This behavior taken from amOnPage method, initially introduced in 2.0.6 2014-10-12
  • Fixed usage of whitespaces in wantTo. See #1456 2014-10-12
  • [WebDriver][PhpBrowser][Frameworks] fillField is matching element by name, then by CSS. Fixes #1454 2014-10-12

2.0.6

  • Fixed list of executed suites while running included suites by @gureedo. See #1427 2014-10-08
  • [Frameworks] support files and request names containing square brackets, dots, spaces. See #1438. Thanks to @kkopachev 2014-10-08
  • [PhpBrowser] array of files for Guzzle to support format: file[foo][bar]. Fixes #342 by @kkopachev 2014-10-07
  • Added strict mode for XML generation. 2014-10-06

In this mode only standard JUnit attributes are added to XML reports, so special attributes like feature won't be included. This improvement fixes usage XML reports with Jenkins #1408 To enable strict xml generation add to codeception.yml:

settings:
    strict_xml: true
  • Fixed retrieval of codecoverage reports on remote server #1379 2014-10-06
  • [PhpBrowser][Frameworks] Malformed XPath won't throw fatal error, but makes tests fail. Fixes #1409 2014-10-06
  • Build command generates actors for included suites. See #1267 2014-10-03
  • CodeCoverage throws error on unsuccessful requests (status code is not 200) to remote server. Fixes #346 2014-10-03
  • CodeCoverage can be disabled per suite. Fix #1249 2014-10-02
  • Fix: --colors and --no-colors options can override settings from config 2014-10-02
  • [WebDriver] waitForElement* methods accept strict locators and WebDriverBy as parameters. See #1396 2014-09-29
  • [PhpBrowser] executeInGuzzle uses baseUrl set from config. Fixes #1416 2014-09-29
  • [Laravel4] fire booted callbacks between requests without kernel reboot. Fixes #1389, See #1415 2014-09-29
  • [WebDriver][PhpBrowser][Frameworks] submitForm accepts forms with document-relative paths. Fixes #1274 2014-09-28
  • [WebDriver][PhpBrowser][Frameworks] Fixed #1381: fillField fails for a form without a submit button by @zbateson 2014-09-28
  • [PhpBrowser][WebDriver] amOnPage now accepts absolute urls 2014-09-27
  • [Db] ignore errors from lastInsertId by @tomykaira 2014-09-27
  • [WebDriver] saves HTML snapshot on fail 2014-09-27
  • [WebDriver] fixed #1392: findField should select by id, css, then fall back on xpath 2014-09-27
  • [WebDriver] Don't check for xpath if css selector is set, by @Danielss89 #1367 2014-09-27
  • Specify actor class for friends by @tomykaira. See #1394 2014-09-27

2.0.5

  • [Queue] module added with AWS, Iron.io, and Beanstalkd support. Thanks to @nathanmac 2014-08-21
  • [WebDriver] fixed attachFile error message when file does not exists #1333 by @TroyRudolph 2014-08-21
  • [Asserts] Added assertLessThan and assertLessThanOrEqual by @Great-Antique 2014-08-21
  • [ZF2] fixed #1283 by @dkiselew 2014-08-21
  • Added functionality to Stub to allow ConsecutiveCallStub. See #1300 by @nathanmac 2014-08-21
  • Cest generator inserts object into _before and _after methods by @TroyRudolph 2014-08-21
  • [PhpBrowser][Frameworks] Fixed #1304 - ->selectOption() fails if two submit buttons present by @fdjohnston 2014-08-21
  • [WebDriver][PhpBrowser][Frameworks] seeNumberOfElements method added by @dynasource 2014-08-21
  • recursive runner for included suites by @dynasource 2014-08-21
  • Disabled skipped/incomplete tests logging in jUnit logger for smooth Bamboo integration by @ayastreb 2014-08-21

2.0.4

  • [Laravel4] More functional, cli, and api tests added to demo application https://github.com/Codeception/sample-l4-app 2014-08-05
  • Fix: GroupManager uses DIRECTORY_SEPARATOR for loaded tests 2014-08-05
  • [Laravel4] Uses app.url config value for creating requests. Fixes #1095 2014-08-04
  • [Laravel4] seeAuthenticated / dontSeeAuthenticated assertions added to check that current user is authenticated 2014-08-04
  • [Laravel4] logout action added 2014-08-04
  • [Laravel4] amLoggedAs can login user by credentials 2014-08-04
  • [Laravel4] Added amOnRoute, amOnAction, seeCurrentRouteIs, seeCurrentActionIs actions 2014-08-04
  • [Laravel4] Added haveEnabledFilters and haveDisabledFilters actions to toggle filters in runtime 2014-08-04
  • [Laravel4] Added filters option to enable filters on testing 2014-08-04
  • [REST] seeResponseContainsJson should not take arrays order into account. See #1268 2014-08-04
  • [REST] grabDataFromJsonResponse accepts empty path to return entire json response 2014-08-04
  • [REST] print_r replaced with var_export for better output on json comparison #1210 2014-08-02
  • [REST] Reset request variables in the before hook by @brutuscat #1232 2014-08-01
  • [Db] Oci driver for oracle database by @Sikolasol #1234 #1243 2014-08-01
  • [Laravel4] Unit testing and test environment are now configurable #1255 by @ipalaus 2014-08-01
  • [Laravel4] Fixed Cest testing when using Laravel's Auth #1258 by @ipalaus 2014-08-01
  • FIX #948 code coverage HTML: uncovered files missing by @RLasinski 2014-07-26
  • [Laravel4] project root relative config parameter added by @kernio 2014-07-26

2.0.3

  • [Symfony2] Symfony3 directory structure implemented by @a6software 2014-07-21
  • Console: printing returned values 2014-07-21
  • FIX: TAP and JSON logging should not be started when no option --json or --tap provided 2014-07-21
  • [Doctrine2] FIXED: persisting transaction between Symfony requests 2014-07-19
  • [Symfony2] created Symfony2 connector with persistent services 2014-07-19
  • [Doctrine2] implemented haveInRepository method (previously empty) 2014-07-17
  • When Cest fails @after method wont be executed 2014-07-17
  • [Laravel4] App is rebooted before each test. Fixes #1205 2014-07-15
  • FIX: codeception/specify is now available in phar 2014-07-14
  • FIX: Interactive console works again 2014-07-09
  • _bootstrap.php is now loaded before beforeSuite module hooks.
  • FIX: Suite _bootstrap.php was loaded after test run by @samdark 2014-07-11

2.0.2

  • [PhpBrowser][Frameworks] correctly send values when there are several submit buttons in a form by @TrustNik 2014-07-08
  • [REST] fixed connection with framework modules 2014-07-06
  • [PhpBrowser][Frameworks] checkOption now works for checkboxes with array[] name by @TrustNik
  • [PhpBrowser][Frameworks] FIX: seeOptionIsSelected and dontSeeOptionIsSelected now works with radiobuttons by @TrustNik 2014-07-05
  • [FTP] MODULE ADDED by @nathanmac 2014-07-05
  • [WebDriver] Enabled remote upload of local files to remote selenium server by @motin 2014-07-05
  • [Yii2][Yii1] disabled logging for better functional test performance

2.0.1

  • [Phalcon1] Fixed connector
  • [WebDriver] added seeInPageSource and dontSeeInPageSource methods
  • [WebDriver] see method now checks only for visible BODY element by @artyfarty
  • [REST] added Bearer authentication by @dizews
  • removed auto added submit buttons in forms previously used as hook for DomCrawler
  • BUGFIX: PHP 5.4.x compatibility fixed. Sample error output: 'Method WelcomeCept.php does not exist' #1084 #1069 #1109
  • Second parameter of Cest method is treated as scenario variable on parse. Fix #1058
  • prints raw stack trace including codeception classes in -vvv mode
  • screenshots on fail are saved to properly named files #1075
  • [Symfony2] added debug config option to switch debug mode by @pmcjury

2.0.0

  • renamed _logs dir to _output by default
  • renamed _helpers dir to _support by default
  • Guy renamed to Tester
  • Bootstrap command got 3 installation modes: default, compat, setup
  • added --coverage-text option

2.0.0-RC2

  • removed fabpot/goutte, added Guzzle4 connector
  • group configuration can accept groups by patterns

2.0.0-RC

  • [WebDriver] makeScreenshot does not use filename of a test
  • added grabAttributeFrom
  • seeElement to accept attributes in second parameter: seeElement('input',['name'=>'login'])

2.0.0-beta

  • executeInGuzzle is back in PhpBrowser
  • environment can be accessed via ->env in test
  • before/after methods of Cest can take object
  • moved logger to extension
  • bootstrap files are loaded before suite only
  • extension can reconfigure global config
  • removed RefactorAddNamespace and Analyze commands
  • added options to set output files for xml, html reports, and coverage
  • added extension to rerun failed tests
  • webdriver upgraded to 0.4
  • upgraded to PHPUnit 4