{"id":14978863,"url":"https://github.com/lugensa/gocept.jasmine","last_synced_at":"2026-03-05T18:34:58.873Z","repository":{"id":36471335,"uuid":"204644366","full_name":"lugensa/gocept.jasmine","owner":"lugensa","description":"Jasmine integration for selenium.","archived":false,"fork":false,"pushed_at":"2022-11-28T14:31:32.000Z","size":84,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-02T03:19:04.922Z","etag":null,"topics":["jasmine","python","selenium"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lugensa.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-27T07:21:03.000Z","updated_at":"2023-10-09T09:13:31.000Z","dependencies_parsed_at":"2023-01-17T02:00:22.234Z","dependency_job_id":null,"html_url":"https://github.com/lugensa/gocept.jasmine","commit_stats":null,"previous_names":["gocept/gocept.jasmine"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/lugensa/gocept.jasmine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lugensa%2Fgocept.jasmine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lugensa%2Fgocept.jasmine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lugensa%2Fgocept.jasmine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lugensa%2Fgocept.jasmine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lugensa","download_url":"https://codeload.github.com/lugensa/gocept.jasmine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lugensa%2Fgocept.jasmine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30142793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T16:58:46.102Z","status":"ssl_error","status_checked_at":"2026-03-05T16:58:45.706Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["jasmine","python","selenium"],"created_at":"2024-09-24T13:58:32.943Z","updated_at":"2026-03-05T18:34:58.851Z","avatar_url":"https://github.com/lugensa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"===============================\nThe gocept.jasmine distribution\n===============================\n\nJasmine integration for selenium.\n\n\nUsage\n=====\n\nYou need two things to run jasmine tests with selenium:\n\n* A test app which requires your resources and jasmine test files::\n\n    class MyTestApp(gocept.jasmine.jasmine.TestApp):\n\n        def need_resources(self):\n            # Require your resources here\n            my.package.resource.need()\n            my.package.tests.jasmine_tests.need()\n\n        @property\n        def body(self):\n            # HTML setup for your tests goes here\n            return '\u003cdiv id=\"my_container\"\u003e\u003c/div\u003e'\n\n* A TestCase with the jasmine layer::\n\n    class MyJasmineTestCase(gocept.jasmine.jasmine.TestCase):\n\n        layer = gocept.jasmine.jasmine.get_layer(MyTestApp())\n\n        def test_integration(self):\n            self.run_jasmine()\n\nThe important things here are, that the `get_layer` function is given\nyour jasmine app and that the returned Layer is used on your TestCase.\n\nIn your Test, simple run `run_jasmine`, which will open the TestApp in your\nBrowser. The TestApp renders your `body` and includes all needed resources and\nthen runs the jasmine tests. `run_jasmine` will wait for these tests to finish\nand the report success or failure. Jasmine tracebacks and error details are\nvisible through the selenium error handling.\n\n\nDebugging\n---------\n\nYou can set the `debug` flag on your test case to get a pdb debugger right\nafter the start of the jasmine tests. This lets you debug your jasmine tests\nwithin your browser::\n\n    class MyJasmineTestCase(gocept.jasmine.jasmine.TestCase):\n\n        layer = gocept.jasmine.jasmine.get_layer(MyTestApp())\n        debug = True\n\n        def test_integration(self):\n            self.run_jasmine()\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flugensa%2Fgocept.jasmine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flugensa%2Fgocept.jasmine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flugensa%2Fgocept.jasmine/lists"}