Skip to content
Extraits de code Groupes Projets
  1. sept. 14, 2015
  2. sept. 02, 2015
  3. juin 05, 2015
  4. nov. 17, 2014
  5. nov. 11, 2014
  6. nov. 07, 2014
  7. oct. 13, 2014
  8. oct. 06, 2014
  9. oct. 05, 2014
  10. sept. 10, 2014
  11. juil. 26, 2014
    • diosmosis's avatar
      Refactoring IntegrationTestCase class: · 8c94dc71
      diosmosis a rédigé
        - moved all API URL generation logic & API response handling logic to separate classes
        - created ApiTestConfig class to hold API test options (and documentation for properties)
        - remove unnecessary IntegrationTestCase properties and methods (including apiNotToCall/apiToCall)
        - remove as many unnecessary API test options as possible (including abandonedCarts, hackDeleteRangeArchivesBefore)
        - rename checkRequestResponse to assertApiResponseHasNoError
      8c94dc71
  12. juil. 23, 2014
  13. juil. 10, 2014
  14. juil. 09, 2014
  15. juil. 01, 2014
  16. juin 29, 2014
  17. juin 10, 2014
  18. avr. 12, 2014
  19. avr. 05, 2014
    • mattab's avatar
      Skip test earlier. · dfd35739
      mattab a rédigé
      Trying to fix: PHP Fatal error:  Call to a member function getCurrency() on a non-object in /home/travis/build/piwik/piwik/plugins/Live/API.php on line 554
      https://travis-ci.org/piwik/piwik/jobs/22318726
      Note: this should not happen really and I'm puzzled... especially as it works on other PHP versions...
      dfd35739
    • mattab's avatar
      Skip test on php 5.3 · 13490ae4
      mattab a rédigé
      Trying to fix: PHP Fatal error:  Call to a member function getCurrency() on a non-object in /home/travis/build/piwik/piwik/plugins/Live/API.php on line 554
      https://travis-ci.org/piwik/piwik/jobs/22318726
      Note: this should not happen really and I'm puzzled... especially as it works on other PHP versions...
      13490ae4
    • mattab's avatar
      Skip test on php 5.3 · 6c6ddc34
      mattab a rédigé
      Trying to fix: PHP Fatal error:  Call to a member function getCurrency() on a non-object in /home/travis/build/piwik/piwik/plugins/Live/API.php on line 554
      https://travis-ci.org/piwik/piwik/jobs/22318726
      Note: this should not happen really and I'm puzzled... especially as it works on other PHP versions...
      6c6ddc34
    • mattab's avatar
      Trigger build · b3c2d8ae
      mattab a rédigé
      b3c2d8ae
  20. fév. 20, 2014
    • diosmosis's avatar
      Refactoring testing framework: · 612720f6
      diosmosis a rédigé
      - Rename *_BaseFixture to Fixture.
      - Move DB setup code to Fixture and reuse code in DatabaseTestCase.
      - Make IntegrationTestCase::$defaultApiNotToCall an instance var.
      612720f6
  21. fév. 02, 2014
  22. jan. 30, 2014
  23. jan. 29, 2014
  24. nov. 20, 2013
  25. oct. 15, 2013
  26. août 02, 2013
  27. juil. 23, 2013
  28. juil. 21, 2013
  29. avr. 21, 2013
  30. avr. 20, 2013
    • mattab's avatar
      Fixes #3904: · 35f975ac
      mattab a rédigé
       * new segment 'siteSearchKeyword'
      Fixes #3903, #3905:
       * adding few fields in the Live API output to accomodate getSuggestedValuesForSegment
       * renamed other fields for consistency with segment names
      Fixes #3906:
       * new API: getSuggestedValuesForSegment which returns top suggested values for a particular segment. It uses the Live.getLastVisitsDetails API to fetch the most recently used values, and will show the most used values first
      
       * Adding tests for everything. The test case actually generates data for all segments so that VisitsSummary.get returns some data for each of the 47 segments being tested returns some data.
        How it works:
        * generate extended data in fixture
        * Tests (1) call getSuggestedValuesForSegment for each segment, check there is some data returned for each segment
        * get the first suggested value from the list,
        * Tests (2) call VisitsSummary.get with this segment value, eg. countryCode==ru.
          * I worked this way for all 47 segments until all tests had some data ==> now we know that all segments have been tested and that the auto suggest works for all segments. TDD FTW!
      35f975ac
Chargement en cours