# Testing signals — rollup/rollup

> Canonical page: https://codevetter.com/unpack/rollup/testing-signals

# Testing signals — rollup/rollup

Scanned commit a77225f4b9ef88f20d26a32a3dc70954241f3fb6 (2026-10-02). Generated by codevetter codevetter 1.15.0 on 2026-10-02.

Source inspection; upstream code and tests were not executed.

Tests and CI were inspected, not executed; their existence establishes intended checks, not passing results. Mocha suites exercise built artifacts through runtime assertions, output comparisons, cache reruns, CLI invocation, and filesystem watching. Browser tests use Node substitutes rather than an actual browser. Inspection was bounded and does not establish exhaustive coverage or whole-repository absences.
- test:only invokes Mocha on test/test.js, which loads misc, function, form, chunking, hashes, sourcemaps, incremental, hooks, config, CLI, and watch suites. — [package.json#L93-96](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/package.json#L93-L96) [test/test.js#L3-16](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/test/test.js#L3-L16)
- Function tests import dist/rollup, generate CommonJS, execute outputs with injected assert, and support build/generation/runtime error expectations. — [test/function/index.js#L1-27](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/test/function/index.js#L1-L27) [test/function/index.js#L84-123](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/test/function/index.js#L84-L123) [test/function/index.js#L138-155](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/test/function/index.js#L138-L155)
- Form tests compare generated output across six formats and rerun from bundle.cache; repository guidance distinguishes them from tests that execute generated code. — [test/form/index.js#L18-18](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/test/form/index.js#L18-L18) [test/form/index.js#L97-129](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/test/form/index.js#L97-L129) [test/AGENTS.md#L5-9](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/test/AGENTS.md#L5-L9)
- Browser tests load browser/dist/rollup.browser.js under Node, mock fetch with filesystem reads, and compare output fixtures; they do not run in an actual browser. — [test/browser/index.js#L1-17](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/test/browser/index.js#L1-L17) [test/browser/index.js#L55-75](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/test/browser/index.js#L55-L75) [test/browser/index.js#L79-96](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/test/browser/index.js#L79-L96)
- Watch tests assert rebuild event sequences and output values, reject overlapping asynchronous listener handling, and check closeWatcher after a failed run with a pending rerun. — [test/watch/index.js#L48-97](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/test/watch/index.js#L48-L97) [test/watch/index.js#L125-150](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/test/watch/index.js#L125-L150) [test/watch/index.js#L281-307](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/test/watch/index.js#L281-L307) [test/watch/index.js#L350-359](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/test/watch/index.js#L350-L359)
- test:all includes browser, TypeScript, package, and option checks; ci:coverage adds leak checks and covered Mocha execution alongside browser/type checks. — [package.json#L62-63](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/package.json#L62-L63) [package.json#L83-96](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/package.json#L83-L96)
- CI configures Node 18.20.0 and 24 across selected Linux/macOS/Windows targets, excluding Node 18 on Windows ARM; it tests tarball installation and runs test:only. — [.github/workflows/build-and-tests.yml#L485-516](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/.github/workflows/build-and-tests.yml#L485-L516) [.github/workflows/build-and-tests.yml#L531-548](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/.github/workflows/build-and-tests.yml#L531-L548)
- CI checks generated converter drift and uploads JavaScript/Rust coverage; a final failure step preserves test failure even though the coverage execution step uses continue-on-error. — [.github/workflows/build-and-tests.yml#L49-53](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/.github/workflows/build-and-tests.yml#L49-L53) [.github/workflows/build-and-tests.yml#L590-616](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/.github/workflows/build-and-tests.yml#L590-L616)

Every claim links to its cited files at the pinned commit. Citations identify source evidence; they do not establish runtime correctness. Independent CodeVetter scan — not reviewed by upstream maintainers.

## Public product links

- [CodeVetter](https://codevetter.com/)
- [Download](https://codevetter.com/download)
- [Documentation](https://codevetter.com/docs/)
- [Source](https://github.com/Codevetter/codevetter)
