{"id":22666515,"url":"https://github.com/extendscript/tap-es","last_synced_at":"2025-04-11T21:44:46.236Z","repository":{"id":68985029,"uuid":"129379709","full_name":"ExtendScript/tap-es","owner":"ExtendScript","description":"ExtendScript TAP runner and reporter","archived":false,"fork":false,"pushed_at":"2020-09-01T04:54:40.000Z","size":41,"stargazers_count":1,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T17:49:25.183Z","etag":null,"topics":["extendscript","tap-extendscript","tape","test-runner"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ExtendScript.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-04-13T09:25:48.000Z","updated_at":"2022-02-04T02:15:02.000Z","dependencies_parsed_at":"2023-04-10T17:49:25.393Z","dependency_job_id":null,"html_url":"https://github.com/ExtendScript/tap-es","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/ExtendScript%2Ftap-es","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExtendScript%2Ftap-es/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExtendScript%2Ftap-es/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExtendScript%2Ftap-es/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ExtendScript","download_url":"https://codeload.github.com/ExtendScript/tap-es/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248487510,"owners_count":21112187,"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":["extendscript","tap-extendscript","tape","test-runner"],"created_at":"2024-12-09T14:15:11.129Z","updated_at":"2025-04-11T21:44:46.227Z","avatar_url":"https://github.com/ExtendScript.png","language":"JavaScript","readme":"# tap-es\n\n[![version](https://img.shields.io/npm/v/@extendscript/tap-es.svg)](https://www.npmjs.org/package/@extendscript/tap-es)\n[![status](https://travis-ci.org/ExtendScript/tap-es.svg)](https://travis-ci.org/ExtendScript/tap-es)\n[![dependencies Status](https://david-dm.org/ExtendScript/tap-es/status.svg)](https://david-dm.org/ExtendScript/tap-es)\n[![devDependencies Status](https://david-dm.org/ExtendScript/tap-es/dev-status.svg)](https://david-dm.org/ExtendScript/tap-es?type=dev)\n\nTap-ExtendScript is a utiliy wrapper arround [estktap](https://github.com/nbqx/estktap). It adds a test bundler, generator and reporter that takes a test (or a set of tests) and pipes them to multiple app targets/versions and outputs a single report.\n\n\u003e When given an output file the report will be written in [tap-markdown](https://github.com/Hypercubed/tap-markdown) syntax.\n\n## install\n\n    npm install @extendscript/tap-es --save-dev\n\n## create a test\n\nAdd a single line to the end of your test file:\n\n    $.write( result );\n\nPlease read the [estktap guide](https://github.com/nbqx/estktap#readme) for more information.\n\n## adding and generating tests\n\nWith the `add` function we can generate a test for each script to each target, we can run the `add` function multiple times before evoking the `run` command.\n\nThe `add` function takes three arguments:\n\n  1. __scripts__ `String`, `Array`: Path to ExtendScript test files\n  2. __target__ `String`, `Array`: Adobe app targets and version\n  3. __comparator__ `Number`, `String`, `Boolean` or `Function` [Optional, defaults to `true`]\n\nExample using multiple files and multiple targets:\n\n    // Generates 4 tests\n    tapes.add(['test1.jsx','test2.jsx'], [indesign-13,photoshop-18])\n\n[glob](https://github.com/isaacs/node-glob) patterns are supported:\n\n    tapes.add('test/*.indd.jsx', [indesign-12,indesign-13] )\n\n\n## Report Options\n\nWe add the duration of the test to the report:\n\n    tapes.reportDuration(true)\n\nand/or add the file name of the test with:\n\n    tapes.reportScriptName(true)\n\n\n## Running the tests\n\nAfter having added the tests, we can use the `run()` command to run the tests and pipe the output to file (Markdown) and console:\n\n    tapes.run( 'result.md' )\n\n\u003e The run command resets tap-es   \n\nRun the test file with `node run tests.js` or `tape run tests.js`\n\nSee [example](test/add.test.report.js)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextendscript%2Ftap-es","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fextendscript%2Ftap-es","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextendscript%2Ftap-es/lists"}