{"id":15451796,"url":"https://github.com/willscott/grunt-jasmine-chromeapp","last_synced_at":"2025-08-28T20:31:32.933Z","repository":{"id":26253789,"uuid":"29700941","full_name":"willscott/grunt-jasmine-chromeapp","owner":"willscott","description":"Run jasmine specs in a Chrome Packaged App","archived":false,"fork":false,"pushed_at":"2017-06-20T14:54:31.000Z","size":129,"stargazers_count":0,"open_issues_count":8,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-09T18:59:13.251Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/willscott.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-22T21:21:37.000Z","updated_at":"2016-05-05T17:31:44.000Z","dependencies_parsed_at":"2022-08-20T14:50:19.582Z","dependency_job_id":null,"html_url":"https://github.com/willscott/grunt-jasmine-chromeapp","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willscott%2Fgrunt-jasmine-chromeapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willscott%2Fgrunt-jasmine-chromeapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willscott%2Fgrunt-jasmine-chromeapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willscott%2Fgrunt-jasmine-chromeapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willscott","download_url":"https://codeload.github.com/willscott/grunt-jasmine-chromeapp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231297128,"owners_count":18354602,"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-01T21:39:28.812Z","updated_at":"2024-12-26T01:11:12.218Z","avatar_url":"https://github.com/willscott.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grunt-jasmine-chromeapp\n\n\u003e Run jasmine specs in a Chrome Packaged App\n\n[![Build Status](https://api.shippable.com/projects/54d3c81a5ab6cc13528afac2/badge?branchName=master)](https://app.shippable.com/projects/54d3c81a5ab6cc13528afac2/builds/latest)\n\nGetting Started\n---------------\n\nThis plugin requires Grunt ```~0.4.0```\n\nIf you haven't used Grunt before, be sure to check out the Getting Started guide, which explains how to create your grunt file.\nOnce you're familiar with the process, this plugin can be installed as:\n\n```shell\nnpm install grunt-jasmine-chromeapp --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled with this line of JavaScript:\n```javascript\ngrunt.loadNpmTasks('grunt-jasmine-chromeapp');\n```\n\nJasmine Task\n------------\n\nRun this task with the ```grunt jasmine_chromeapp``` command.\n\nAutomatically builds and maintains the spec runner and reports results back to the grunt console.\nStarts chrome with a dynamically created packaged application which runs jasmine specs. The package\nreports results back to a web server run by the plugin, which then reports back to the console.\nThis structure is chosen becasue selenium is unable to debug or instrument packaged applications\ndirectly.\n\nCustomize your SpecRunner\n-------------------------\n\nUse your own files in the app to customize your tests. \n\n\n### Options\n\n#### src\nType: `String|Array`\n\nYour source files and specs. These are the files you are testing.\n\n#### options.paths\nType: `String|Array`\n\nListing of which files should be included as script tags in the test runner. If not set, defaults\nto all files listed as source files, but can define a subset of those files to support copying\nnon-js files, or other support files which should not be directly included.\n\n#### options.keepRunner\nType: `Boolean`\nDefault: `false`\n\nPrevents the auto-generated app from being automatically deleted, and leave the browser open.\n\n#### options.binary\nType: `String`\nDefault: `undefined`\n\nSpecify the locations of `google-chrome` to run for testing. Defaults to the [per-platform\ndefault locations](https://code.google.com/p/selenium/wiki/ChromeDriver) specified by\nchromedriver if not specified.\n\n#### options.flags\nType: `Array`\nDefault: `[]`\n\nAdditional command-line flags to pass to chrome. These are appended to the default flags\nused for instantiation: `--no-first-run`, `--force-app-mode`, `--apps-keep-chrome-alive-in-tests`,\n`--load-and-launch-app`, and `--user-data-dir`.\n`--no-startup-window` is also used for the Mac platform.\n\n#### options.timeout\nType: `Number`\nDefault: `30000`\n\nHow many milliseconds to wait for the browser to start up before failing.\n\n#### options.outfile\nType: `String`\nDefault: `.build`\n\nThe directory to stage the chrome app into.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillscott%2Fgrunt-jasmine-chromeapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillscott%2Fgrunt-jasmine-chromeapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillscott%2Fgrunt-jasmine-chromeapp/lists"}