Closed (fixed)
Project:
Baidu Analytics
Version:
7.x-1.x-dev
Component:
SimpleTests
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Aug 2013 at 02:03 UTC
Updated:
13 Sep 2013 at 02:26 UTC
Following up with #2077455: Add initial simpletests with a base class where an initial version of Baidu Analytics Test Cases was committed (at 6357889), it seems baidu_analytics.test could probably be further improved:
Test Cases: A few more things we might want to test:
Please let me know if you would have any questions, objections, comments, suggestions, recommendations or concerns on any aspects of this feature request, I would be glad to provide more information or explain in more details.
Any questions, feedback, testing, changes, ideas or recommendations would be highly appreciated.
Thanks to all in advance.
Comments
Comment #1
dydave commentedQuick follow-up on this feature request:
Modified the file
baidu_analytics.testto add a new Test Case Class, calledBaiduAnalyticsLinksTrackingTestwich performs the tests described in the issue summary:With tracking enabled for all Links by default, each setting is disabled one by one and test that corresponding codes are displayed or not.
Change the tracked file extensions and check the configured variable is correctly used to generate the JavaScript tracking code.
Ensure
baidu_analytics.jsis not included in the page if tracking for Links is disabled (all 3 checkboxes unchecked).I went ahead and committed the changes against the 7.x-1.x branch at 69ca740.
I allowed myself to mark this issue as fixed for now, but feel free to re-open it, or post a new ticket, at any time if you have any further objections with this ticket or related commit 69ca740 (we would surely be happy to hear your feedback).
Please let me know if you would have any further comments, feedback, questions, issues, objections, suggestions or concerns on the commit or this feature request in general, I would be glad to provide more information or explain in more details.
Thanks in advance to everyone for your testing, reviews, feedback and comments on this issue.
Cheers!