-
Notifications
You must be signed in to change notification settings - Fork 0
Testing
DAML Script tests live in Test/ at the repo root. Run them with npm run test from the repository root (not from Test/ alone).
CI (after npm run build):
-
npm run check-upgrade-compat— runs after DAML build, before codegen -
npm run codegenthennpm run verify-package:verify-package-imports-
verify-merged-lib— required bundled files,require('./lib/index.js'), rootOCP_TEMPLATES, subpathopenCapTableDarPath, noNft/CantonPaymentson root index, no DAR helpers on root test:imports
See DAR path resolution on Home for resolveOpenCapTableDarPath / OPEN_CAP_TABLE_DAR_PATH. Verification scripts for other Fairmint packages live with fairmint/daml or downstream repos — not in this CI workflow.
-
External template choicesshould be 100% covered.External templatescreated may be less than 100% due to external dependencies.- This requires a test of the
Archivecommand which is implicitly available on all templates.
- This requires a test of the
- When
Optionalfields are included, the test file should include at least 2 separate tests, one withNonefor all Optional fields and another withSomefor all Optional fields.
# From the root directory
npm run testTests live under Test/daml/ (DAML Script). Test/daml.yaml depends on the built OpenCapTable-v34 DAR only (see data-dependencies). Cross-package integration with DAML maintained in fairmint/daml belongs in that repo or in consumer test suites — not in this tree.
Develop
Decisions
Releases
- Releases (index)
- Package tag release process
- 2026-06-22 — OCP v35 conversion mechanism validation
- 2026-06-22 — OCP v35 SDK scaffold
- 2026-05-04 — OCP v34 major upgrade
- 2026-05-04 — DAML extraction / fairmint-daml
- 2026-03-05 — OCP v32 PPS-based conversion rename
- 2026-02-17 — OCP v31 ArchiveCapTable
- 2026-02-12 — OCP v31 vesting zero portion
Other Fairmint DAML
Documentation for CantonPayments, NFT, Reports, CouponMinter, equity certificate, proof-of-ownership, and related deployment playbooks lives with fairmint/daml and @fairmint/daml-js — not in this wiki.