PackagePackagetypeA library you install and call yourself.See every one →What this type is →by a community orgby a community orgoriginPublished by a community organisation, so it outlives any one maintainer.See every one →

karma-ui5-transpile

A Karma preprocessor that transpiles a UI5 project's sources with the ui5-tooling-transpile configuration in its ui5.yaml.

A UI5 project that writes TypeScript or modern JavaScript and builds it with ui5-tooling-transpile needs the same transpiling before Karma can run and measure it. The ui5-transpile preprocessor, set per path in karma.conf.js, reads that configuration from ui5.yaml, or from the file karma-ui5's configPath names, which is how code coverage is collected for such a project. It needs karma 6.4.1 or later, ui5-tooling-transpile 3.0.0 or later, and the karma-ui5 plugin, which the README calls obligatory because the configuration is read from it. The README marks it deprecated along with the karma-ui5 plugin and points to the testing projects listed on bestofui5.org.

DeprecatedThis project has been deprecated. We recommend you to pick a successor from the [available UI5 community projects](https://bestofui5.org/#/packages?tokens=testing:tag).karma-ui5-transpile — README, deprecation notice

Facts

Latestv3.6.4ReleasedLast pushLicenceApache-2.0

Where it sits

Lives in
Provides
UI5 testingUI5UI5 testingcapabilityProving a UI still works — unit tests over controllers and formatters, integration tests that drive real controls, and end-to-end runs against a served app.
Requires
ui5-tooling-transpileui5-tooling-transpileartifactSupplies the transpiling and its configuration; the preprocessor reads the same ui5.yaml settings and requires version 3.0.0 or later.

Who is behind it

Peter MuessigPeter MuessigPersonMaintains this
In the atlas: maintains 14, contributes to 80, wrote 1
@petermuessig
UI5 CommunityUI5 CommunityOrganisationMaintains this
In the atlas: maintains 69
@ui5-community
maintainersFlorian VogtPersonContributes to this
In the atlas: contributes to 50, wrote 2
@flovogt
Lukas Theis (MuwuM)PersonContributes to this
In the atlas: contributes to 7
@MuwuM
2 contributors

What it declares

Every artifact

Type
Package
Origin
By a community org

As a package

Where it runs
does not say
Distributed through
does not say

For UI5 testing

Supports
Code coverage
property statedstated nonot said

Tasks this contributes to1Beta

Run a UI5 project's existing QUnit and OPA5 pages unattendedThe test pages a project already has run from one command, with nobody opening them in a browser tab, and the run leaves a report a pipeline can read.Freestyle, Fiori elementsCovers, under conditionspreprocessor for a Karma run
What it does

Makes the Karma way work for a project whose sources are TypeScript: the preprocessor transpiles them with the project's own ui5-tooling-transpile configuration before the tests run, which is how coverage is collected for such a project. Its README states the project has been deprecated and points at the UI5 community projects tagged testing.

Conditions

The project has a ui5.yaml configuring ui5-tooling-transpile 3.0.0 or later, and karma 6.4.1 or later; The karma-ui5 plugin is installed alongside it, which the README calls obligatory because the configuration is read from it

Remaining work

Install karma, karma-ui5, karma-coverage and a browser launcher beside it, configure the preprocessor per path in karma.conf.js, and keep the coverage preprocessor out of that list, which the README warns would instrument the sources twice. Picking a successor is the maintainer's own advice.

All options on the UI5 testing page →

Connections2

Install

npm add karma-ui5-transpile

Derived from the package name. No recipe recorded; the README has the configuration.

README

quoted from ui5-community/ui5-ecosystem-showcase under Apache-2.0, read
ui5-community/ui5-ecosystem-showcase/packages/karma-ui5-transpile/README.mdOn GitHub

karma-ui5-transpile [DEPRECATED]

⚠️ This project has been deprecated. We recommend you to pick a successor from the available UI5 community projects. For more information see Deprecation of karma-ui5 plugin.

👋 This is an open‑source, community‑driven project, developed and actively monitored by members of the UI5 community. You are welcome to use it, report issues, contribute enhancements, and support others in the community.

The karma-ui5-transpile preprocessor transpiles code of UI5 projects having a ui5.yaml using ui5-tooling-transpile UI5 CLI extension. This preprocesser is usable for Karma testing to transpile your resources before testing (i.e. TypeScript compilation for later usage of the karma-coverage plugin).

Prerequisites

The plugin requires karma >=6.4.1, and ui5-tooling-transpile >=3.0.0.

Installation

You can install the required dependencies with the following command:

npm install --save-dev karma karma-coverage ui5-tooling-transpile karma-ui5 karma-ui5-transpile

The usage of the karma-ui5 plugin is obligatory as it integrates UI5 into the Karma testing flow although it is not directly necessary for the karma-ui5-transpile plugin. Only the configuration is read from the karma-ui5 plugin. The plugin karma-coverage is also optional as it can be used for the creation of the coverage report. As a preprocessor it is not needed when using karma-ui5-transpile.

Configuration

See ui5-tooling-transpile for more details about the possible configurations in the ui5.yaml of your UI5 project.

If you have a custom ui5.yaml for testing the plugin reads the configuration from the karma-ui5 plugin, i.e.:

module.exports = function (config) {
  config.set({
    [...]
    ui5: {
      configPath: "ui5-dist.yaml",
    },
    [...]
  });
};

Code Coverage for UI5 projects using ui5-tooling-transpile

To enable code coverage for your UI5 project using ui5-tooling-transpile, you can install and use the karma-ui5-transpile to preprocess your source files of your project. It uses the same configuration as the ui5-tooling-transpile and karma-ui5.

Let's assume you already use the UI5 CLI extension ui5-tooling-transpile and all is configured properly in ui5.yaml. To add code coverage, we first need to install all required dependencies karma, karma-ui5, karma-ui5-transpile, karma-coverage, and karma-chrome-launcher which are needed for the automated execution of your e.g. QUnit or OPA tests:

npm install --save-dev karma karma-ui5 karma-ui5-transpile karma-coverage karma-chrome-launcher

Second, in your karma.conf.js (or better you create separate ones for different scenarios), you need to configure the preprocessor ui5-transpile for which local paths is should run. Below we use the preprocessor for all .ts resources in the webapp folder - also defining multiple folders is possible, e.g. src/**/*.ts and test/**/*.ts for typical UI5 library projects:

module.exports = function (config) {
  config.set({
    frameworks: ["ui5"],
    browsers: ["Chrome"],
    reporters: ["progress", "coverage"],
    preprocessors: {
      "webapp/**/*.ts": ["ui5-transpile"],
    },
    coverageReporter: {
      dir: "coverage",
      reporters: [
        { type: "html", subdir: "report-html" },
        { type: "cobertura", subdir: ".", file: "cobertura.txt" },
        { type: "lcovonly", subdir: ".", file: "report-lcovonly.txt" },
        { type: "text-summary" },
      ],
    },
  });
};

⚠️ When using the ui5-transpile preprocessor please avoid using the coverage preprocessor as the instrumentation will also take place during the ui5-transpile Babel transformation process. If you use both, you will see a warning in the console and instrument your source files twice!

That's it! Now, you are able to run your coverage tests with Karma for your TypeScript-based UI5 projects. To do so, just run:

karma start

If you are interested in out of the box examples, you can find them in the UI5 Ecosystem Showcase repository within the showcases folder:

The TypeScript-based projects genereted with Easy UI5 soon contain the setup for coverage testing with Karma for the QUnit and for OPA testing.

Support

Please use the GitHub bug tracking system to post questions, bug reports or to create pull requests.

Contributing

Any type of contribution (code contributions, pull requests, issues) to this set of UI5 CLI extensions will be equally appreciated.

License

This work is licensed under Apache 2.0.

Built with care (and a lot of caffeine). If this helped you build, test, or ship, the next coffee — or drink — is on you when you bump into a contributor.

Apache-2.0, read

History

Latest

v3.6.4

Notes

Note: Version bump only for package karma-ui5-transpile

  1. v3.6.3

    Notes

    Note: Version bump only for package karma-ui5-transpile

  2. v3.6.2

    Notes

    Note: Version bump only for package karma-ui5-transpile

  3. v3.6.1

    Notes

    Note: Version bump only for package karma-ui5-transpile

  4. v3.6.0

    Features 1

    Notes
    Features
  5. v3.5.15

    Notes

    Note: Version bump only for package karma-ui5-transpile

  6. v3.5.14

    Notes

    Note: Version bump only for package karma-ui5-transpile

  7. v3.5.13

    Notes

    Note: Version bump only for package karma-ui5-transpile

  8. v3.5.12

    Notes

    Note: Version bump only for package karma-ui5-transpile

  9. v3.5.11

    Notes

    Note: Version bump only for package karma-ui5-transpile

  10. v3.5.10

    Notes

    Note: Version bump only for package karma-ui5-transpile

  11. v3.5.9

    Notes

    Note: Version bump only for package karma-ui5-transpile

  12. v3.5.8

    Notes

    Note: Version bump only for package karma-ui5-transpile

  13. v3.5.7

    Notes

    Note: Version bump only for package karma-ui5-transpile

  14. v3.5.6

    Notes

    Note: Version bump only for package karma-ui5-transpile

  15. v3.5.5

    Notes

    Note: Version bump only for package karma-ui5-transpile

  16. v3.5.4

    Notes

    Note: Version bump only for package karma-ui5-transpile

  17. v3.5.3

    Notes

    Note: Version bump only for package karma-ui5-transpile

  18. v3.5.2

    Notes

    Note: Version bump only for package karma-ui5-transpile

  19. v3.5.1

    Notes

    Note: Version bump only for package karma-ui5-transpile

  20. v3.5.0

    Features 1

    Notes
    Features
    • enhanced v4 compat + update dependencies (#1070) (2d7ed16)
  21. v3.4.8

    Notes

    Note: Version bump only for package karma-ui5-transpile

  22. v3.4.7

    Notes

    Note: Version bump only for package karma-ui5-transpile

  23. v3.4.6

    Notes

    Note: Version bump only for package karma-ui5-transpile

  24. v3.4.5

    Notes

    Note: Version bump only for package karma-ui5-transpile

  25. v3.4.4

    Notes

    Note: Version bump only for package karma-ui5-transpile

  26. v3.4.3

    Notes

    Note: Version bump only for package karma-ui5-transpile

  27. v3.4.2

    Notes

    Note: Version bump only for package karma-ui5-transpile

  28. v3.4.1

    Notes

    Note: Version bump only for package karma-ui5-transpile

  29. v3.4.0

    Features 1

    Notes
    Features
    • karma-ui5-transpile: add description to keep version in sync with transpile extension (bbf4d85)
  30. v3.3.7

    Notes

    Note: Version bump only for package karma-ui5-transpile

  31. v3.3.6

    Notes

    Note: Version bump only for package karma-ui5-transpile

  32. v3.3.5

    Notes

    Note: Version bump only for package karma-ui5-transpile

  33. v3.3.4

    Notes

    Note: Version bump only for package karma-ui5-transpile

  34. v3.3.3

    Notes

    Note: Version bump only for package karma-ui5-transpile

  35. v3.3.2

    Notes

    Note: Version bump only for package karma-ui5-transpile

  36. v3.3.1

    Notes

    Note: Version bump only for package karma-ui5-transpile

  37. v3.3.0

    Features 1

    Notes
    Features
    • ui5-tooling-transpile: support generation of interfaces in task (#920) (67f277c), closes #919
  38. v3.2.7

    Notes

    Note: Version bump only for package karma-ui5-transpile

  39. v3.2.6

    Notes

    Note: Version bump only for package karma-ui5-transpile

  40. v3.2.5

    Notes

    Note: Version bump only for package karma-ui5-transpile

  41. v3.2.4

    Notes

    Note: Version bump only for package karma-ui5-transpile

  42. v3.2.3

    Notes

    Note: Version bump only for package karma-ui5-transpile

  43. v3.2.2

    Notes

    Note: Version bump only for package karma-ui5-transpile

  44. v3.2.1

    Notes

    Note: Version bump only for package karma-ui5-transpile

  45. v3.2.0

    Features 1

    Notes
    Features
    • ui5-tooling-transpile: resolve presets/plugins for babel config options (#811) (cb17b23), closes #810
  46. v3.1.4

    Notes

    Note: Version bump only for package karma-ui5-transpile

  47. v3.1.3

    Notes

    Note: Version bump only for package karma-ui5-transpile

  48. v3.1.2

    Notes

    Note: Version bump only for package karma-ui5-transpile

  49. v3.1.1

    Notes

    Note: Version bump only for package karma-ui5-transpile

  50. v3.1.0

    Features 1

    Notes
    Features
    • karma-ui5-transpile: Apply instrumenterOptions for Istanbul from coverageReporter in karma.config (#788) (574d5dd)
  51. v3.0.1

    Fixes 1

    Notes
    Bug Fixes
    • karma-ui5-transpile: ensure to instrument test files (#782) (1d201bb)
  52. v3.0.0

    Breaking 1, Features 2

    Notes
    Features
    BREAKING CHANGES
    • The support for UI5 Tooling V2 has been removed
  53. v0.3.25

    Notes

    Note: Version bump only for package karma-ui5-transpile

  54. v0.3.24

    Notes

    Note: Version bump only for package karma-ui5-transpile

  55. v0.3.23

    Notes

    Note: Version bump only for package karma-ui5-transpile

  56. v0.3.22

    Notes

    Note: Version bump only for package karma-ui5-transpile

  57. v0.3.21

    Notes

    Note: Version bump only for package karma-ui5-transpile

  58. v0.3.20

    Notes

    Note: Version bump only for package karma-ui5-transpile

  59. v0.3.19

    Fixes 1

    Notes
    Bug Fixes
    • ui5-tooling-transpile: transpile at startup + caching (#757) (6c7946d)
  60. v0.3.18

    Notes

    Note: Version bump only for package karma-ui5-transpile

  61. v0.3.17

    Notes

    Note: Version bump only for package karma-ui5-transpile

  62. v0.3.16

    Fixes 1

    Notes
    Bug Fixes
  63. v0.3.15

    Notes

    Note: Version bump only for package karma-ui5-transpile

  64. v0.3.14

    Notes

    Note: Version bump only for package karma-ui5-transpile

  65. v0.3.13

    Notes

    Note: Version bump only for package karma-ui5-transpile

  66. v0.3.12

    Notes

    Note: Version bump only for package karma-ui5-transpile

  67. v0.3.11

    Notes

    Note: Version bump only for package karma-ui5-transpile

  68. v0.3.10

    Notes

    Note: Version bump only for package karma-ui5-transpile

  69. v0.3.9

    Fixes 1

    Notes
    Bug Fixes
    • karma-ui5-transpile: istanbul should run as first plugin (#733) (e6dcd7f)
  70. v0.3.8

    Fixes 1

    Notes
    Bug Fixes
    • karma-ui5-transpile: inline sourcemaps for debugging support (#732) (9317c57)
  71. v0.3.7

    Fixes 1

    Notes
    Bug Fixes
    • karma-ui5-transpile: also instrument in Babel transformation (#731) (0677524)
  72. v0.3.6

    Fixes 1

    Notes
    Bug Fixes
    • karma-ui5-transpile: add only source maps if processed (#730) (286b636)
  73. v0.3.5

    Notes

    Note: Version bump only for package karma-ui5-transpile

  74. v0.3.4

    Notes

    Note: Version bump only for package karma-ui5-transpile

  75. v0.3.3

    Notes

    Note: Version bump only for package karma-ui5-transpile

  76. v0.3.2

    Notes

    Note: Version bump only for package karma-ui5-transpile

  77. v0.3.1

    Notes

    Note: Version bump only for package karma-ui5-transpile

  78. v0.3.0

    Features 1

    Notes
    Features
    • ui5-tooling-transpile: rework to avoid configurations for default usage (#712) (97119f6)
  79. v0.2.0

    Features 1

    Notes
    Features
3,721downloads per week, npm
Weekly downloads for karma-ui5-transpile26 complete calendar weeks from 2026-04-20 to 2026-10-18; the latest total is 3721.20 Apr – 26 Apr: 15,32927 Apr – 3 May: 12,8924 May – 10 May: 19,98411 May – 17 May: 17,58718 May – 24 May: 18,47825 May – 31 May: 14,0681 Jun – 7 Jun: 13,6028 Jun – 14 Jun: 15,99415 Jun – 21 Jun: 13,70022 Jun – 28 Jun: 13,55329 Jun – 5 Jul: 13,2096 Jul – 12 Jul: 12,98613 Jul – 19 Jul: 13,38520 Jul – 26 Jul: 12,27827 Jul – 2 Aug: 12,8443 Aug – 9 Aug: 15,11710 Aug – 16 Aug: 13,04117 Aug – 23 Aug: 17,32324 Aug – 30 Aug: 12,67531 Aug – 6 Sept: 12,8217 Sept – 13 Sept: 8,40414 Sept – 20 Sept: 10,10821 Sept – 27 Sept: 13,40728 Sept – 4 Oct: 13,9425 Oct – 11 Oct: 10,57212 Oct – 18 Oct: 3,721
UI5 testing
  1. ui5-test-runnerCommand line running UI5 QUnit and OPA tests in parallelfrom UI5
  2. ui5-middleware-odata-recorderUI5 middleware recording OData traffic as mock server datasetsfrom UI5
  3. jest-environment-ui5Jest environment running UI5 unit tests in Node.jsfrom UI5
  4. openui5-smart-mockserverUI5 MockServer extension generating mock data with Faker.jsfrom UI5
  5. vitest-environment-ui5Vitest environment running UI5 unit tests in Node.jsfrom UI5
  6. wdio-qunit-serviceWebdriverIO service running QUnit test pagesfrom UI5
  7. @openui5/sap.ui.coreFramework core: module loader, MVC runtime, binding, routing, themingfrom UI5
  8. ui5-journey-recorderChrome extension generating OPA5 or wdi5 tests from recorded journeysfrom UI5
  9. wdi5-cucumberwdi5 plugin for Cucumber-style BDD tests on Fiori Elements appsfrom UI5
  10. wdi5-fe-selectorswdi5 selectors for locating controls in Fiori Elements appsfrom UI5
  11. wdio-ui5-serviceEnd-to-end testing for UI5 on WebdriverIO with UI5 control selectorsfrom UI5
  12. @ui5/middleware-code-coverageUI5 CLI middleware for Istanbul code coveragefrom UI5
  13. vscode-ui5-odata-mock-generatorVS Code extension generating OData mock data from service metadatafrom UI5

Details

Sources4
Added by handdiscovered herechecked
npm registry, karma-ui5-transpileversion, releases, installschecked
packages/karma-ui5-transpile/README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
latestv3.6.4
first release
releases and cadence80, ~53d median
discovered viaAdded by hand
first seen in the atlas
ecosystem and domainui5, developer-experience
Contributors2

From the repository’s contributor list, .

History in the atlas4
  1. The README's own notice, which the description already paraphrased, was not recorded as the maker's dated statement. It is quoted here and shown as plain text: the maintainer's claim, not a reading and not a tier.
  2. two quoted sources and the coverage_report property
  3. The same sentence, with why karma-ui5 is needed.
  4. First seen.
For your agent
Ref
artifact:ui5-community-karma-ui5-transpile
JSON
/artifacts/ui5-community-karma-ui5-transpile.json
MCP
Connecting an agent