{ "info": { "author": "Joao Correia", "author_email": "joao.correia@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 2.7", "Topic :: Internet :: Log Analysis", "Topic :: Software Development :: Quality Assurance" ], "description": "Web Analytics Unit (WAUnit)\n----------------------------\n\nWAUnit is a testing framework for Google Analytics (other platforms coming soon).\n\nWhen you setup custom tracking for a website you have to validate if the hits are correct, HitInspect automates the verification of tracking specifications.\n\nWatch the Youtube video '`WAUnit Overview `_'.\n\nIn a nutshell this is how it works:\n\n.. image:: https://cloud.githubusercontent.com/assets/1695738/13732067/df23460a-e936-11e5-8dfe-64c628f59628.png\n\n1. A python unittest using Selenium Webdriver is executed\n2. A local proxy captures the Google Analytics hits\n3. The unittest compares the specs with the proxy hit log and returns OK/FAIL for each test and detailed information on what doesn\u2019t match.\n\nRequirements\n-------------\n- Python 2.7\n- Selenium\n- mitmproxy\n\nInstallation\n-------------\nInstall WAUnit using pip. Notice a core requirement is mitmproxy. Be sure to install `SSL certificates `_ for mitmproxy so the proxy can capture SSL traffic.\n\n.. code::\n\n python pip install WAUnit\n\nQuickstart\n----------\nIf you are not familiar with Selenium read the `getting started `_ with Selenium Python Bindings. Watch the Youtube video '`Getting Started with WAUnit `_'\n\n1. Create a folder for the project\n2. Create a configuration file: wunit.cfg\n3. Start the proxy: *waunitproxy \u2013config wunit.cfg*\n4. A file named hitdata.db will be created in your home directory\n5. Download [sample.py](#) to your project directory\n6. Execute the sample with: python sample.py\n\n**wunit.cfg**\n\n.. code::\n\n [WAUnit]\n Only googleanalyticsuniversal is available right now\n parser = googleanalyticsuniversal\n\n [Proxy] host = 127.0.0.1\n port = 8080\n hitsdb = hitsdata\n\nQuestions? Comments?\n--------------------\nDrop me a line at `@joaocorreia `_", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/joaolcorreia/WAUnit", "keywords": "google adobe omniture snowplow analytics quality assurance", "license": "Apache Software License", "maintainer": "", "maintainer_email": "", "name": "waunit", "package_url": "https://pypi.org/project/waunit/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/waunit/", "project_urls": { "Homepage": "https://github.com/joaolcorreia/WAUnit" }, "release_url": "https://pypi.org/project/waunit/0.0.4a1/", "requires_dist": null, "requires_python": "", "summary": "Web analytics unit testing framework", "version": "0.0.4a1" }, "last_serial": 2004960, "releases": { "0.0.4a1": [ { "comment_text": "", "digests": { "md5": "ae9837e32fb219ffcf086a75623e2242", "sha256": "fa92741fd80525ff0398a0288ea48bfaf652c2b023ece2552c1b6e608b9e9379" }, "downloads": -1, "filename": "waunit-0.0.4a1.tar.gz", "has_sig": false, "md5_digest": "ae9837e32fb219ffcf086a75623e2242", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5270, "upload_time": "2016-03-14T00:36:34", "url": "https://files.pythonhosted.org/packages/fd/d4/cfdf991b02643695b856718846efde3e71f69ce92456afbc2d0fdb9b737d/waunit-0.0.4a1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ae9837e32fb219ffcf086a75623e2242", "sha256": "fa92741fd80525ff0398a0288ea48bfaf652c2b023ece2552c1b6e608b9e9379" }, "downloads": -1, "filename": "waunit-0.0.4a1.tar.gz", "has_sig": false, "md5_digest": "ae9837e32fb219ffcf086a75623e2242", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5270, "upload_time": "2016-03-14T00:36:34", "url": "https://files.pythonhosted.org/packages/fd/d4/cfdf991b02643695b856718846efde3e71f69ce92456afbc2d0fdb9b737d/waunit-0.0.4a1.tar.gz" } ] }