Skip to content
Extraits de code Groupes Projets
  1. oct. 19, 2012
  2. oct. 15, 2012
  3. déc. 03, 2011
  4. déc. 02, 2011
  5. déc. 01, 2011
  6. nov. 09, 2011
  7. nov. 08, 2011
  8. nov. 04, 2011
  9. juil. 06, 2010
    • mattpiwik's avatar
      Now testing various API exports for ExampleAPI plugins, for all API formats:... · fccd0e0f
      mattpiwik a rédigé
      Now testing various API exports for ExampleAPI plugins, for all API formats: xml, csv, tsv, json, etc.
      Any breaking or modifying change in the renderer or data conversion should trigger a test fail.
      
      Improved parameters in ExampleAPI API.php 
      Refs #1446
      
      git-svn-id: http://dev.piwik.org/svn/trunk@2431 59fd770c-687e-43c8-a1e3-f5a4ff64c105
      fccd0e0f
    • mattpiwik's avatar
      Introducing documented piwik.php PHP Tracking client. · 52ce332c
      mattpiwik a rédigé
      Also adding integration test suite in place.
      
       * Adding new mechanism to trigger known tracking requests, then call all API methods get* and compare XML to the previous 'expected' XML.
       * make sure overwritten config files are not read during tests. Use defaults from global.ini.php.
       * piwik.php Tracker allow calling script to force Datetime and user IP for a specific request. 
       * Wrote 3 main tests
        * wrong tracking requests should not return error and should not record anything 
        * standard one visitor, 2 visits, with page view, download, outlink and goal tracked
        * Added integration test as an example in the ExampleAPI plugin (pretty simple to add testing code)
      TODO 
       * Finish PiwikTracker and show it in UI
       * Show how to use image based tracker in UI
       * Add more tests (multi periods and multi sites) in Main.test.php
       * Fix failing Config.test.php test (when ran via all_tests.php doesn't fail otherwise)
      
      git-svn-id: http://dev.piwik.org/svn/trunk@2429 59fd770c-687e-43c8-a1e3-f5a4ff64c105
      52ce332c
Chargement en cours