@teamscale/javascript-instrumenter
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-beta.8 • Public • Published

Teamscale JavaScript Profiler: Instrumenter

The JavaScript Coverage-Forwarding Instrumenter is part of a tool suite for obtaining coverage information from JavaScript applications that are under test. This tool suite is used in context of the Teamscale Software Intelligence Platform. The collected coverage information can be dumped to coverage files in the Teamscale Simple Coverage Format and sent to a Teamscale instance.

The Teamscale JavaScript Profiler consists of the Coverage Collector and this JavaScript Instrumenter. More details on using them (in combination) can be found in the Teamscale Documentation.

The Instrumenter instruments a given (set of) JavaScript file(s) such that (1) coverage information is produced and (2) forwarded to the Collector.

Building

The Instrumenter is written in TypeScript/JavaScript. For building and running it, NodeJs (>= v16) and pnpm are needed as prerequisites.

pnpm clean
pnpm install
pnpm build

Workflow Integration

There are several options to run the Instrumenter. For example, via pnpm by running

pnpm instrumenter

or via npx by running

npx @teamscale/javascript-instrumenter

Readme

Keywords

none

Package Sidebar

Install

npm i @teamscale/javascript-instrumenter

Weekly Downloads

22

Version

0.1.0-beta.8

License

Apache-2.0

Unpacked Size

115 kB

Total Files

35

Last publish

Collaborators

  • cqse-buildcrew