{"id":16198014,"url":"https://github.com/benoitvallon/unit-test-polymer-element","last_synced_at":"2025-04-07T16:54:05.161Z","repository":{"id":71510078,"uuid":"27887761","full_name":"benoitvallon/unit-test-polymer-element","owner":"benoitvallon","description":"Code sample based on \"Unit Testing Polymer Elements\" article from the polymer website","archived":false,"fork":false,"pushed_at":"2014-12-11T20:28:37.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T19:19:18.308Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benoitvallon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-11T19:27:05.000Z","updated_at":"2014-12-11T20:28:39.000Z","dependencies_parsed_at":"2023-02-22T19:16:07.250Z","dependency_job_id":null,"html_url":"https://github.com/benoitvallon/unit-test-polymer-element","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitvallon%2Funit-test-polymer-element","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitvallon%2Funit-test-polymer-element/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitvallon%2Funit-test-polymer-element/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitvallon%2Funit-test-polymer-element/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benoitvallon","download_url":"https://codeload.github.com/benoitvallon/unit-test-polymer-element/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247694893,"owners_count":20980731,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T09:10:37.370Z","updated_at":"2025-04-07T16:54:05.130Z","avatar_url":"https://github.com/benoitvallon.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"unit-test-polymer-element\n=========================\n\nCode sample based on \"Unit Testing Polymer Elements\" article from the polymer website\n\nseed-element\n============\n\nSee the [component page](http://polymerlabs.github.io/seed-element) for more information.\n\n## Getting Started\n\nWe've put together a [guide to seed-element](http://www.polymer-project.org/docs/start/reusableelements.html) to help get you rolling.\n\n## Testing Your Element\n\nAdd the logic specific to your new element and verify its functionality. Good unit tests are essential to your verification plan but a good way to quickly sanity test your component is to access your demo.html file via a local web server. There are several ways to do this but one easy method is to run a simple web server that ships with Python, using the commands:\n\n```sh\npython -m SimpleHTTPServer\n```\n\nOr other method using NodeJS:\n\n```sh\nhttp-server ./\n```\n\nThis starts a web server on port 8000, so you can test your new element by navigating a browser to `localhost:8000/test/index.html`.\n\n### web-component-tester\n\nThe tests are also compatible with [web-component-tester](https://github.com/Polymer/web-component-tester). You can run them on multiple local browsers via:\n\n```sh\nnpm install -g web-component-tester\nwct\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenoitvallon%2Funit-test-polymer-element","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenoitvallon%2Funit-test-polymer-element","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenoitvallon%2Funit-test-polymer-element/lists"}