Status: backlog Priority: P1 Created: 2026-02-22 Owner: AI Depends-on: phase8-form-namespace-restructure, phase8-report-namespace-restructure, phase8-supporting-namespace-restructure, phase8-options-namespace-split Phase: 8 — Library Restructuring
After namespace restructuring, all test files must be updated to use the new com.fulcrologic.rad.statechart.* namespaces. Some tests for shared code (attributes, ids, type-support) were deleted in the deps-and-identical-cleanup spec. The remaining tests are all statechart-specific.
statechart.* namespacesstatechart.form tested by statechart.form-test)| Current Test File | New Test File | Tests For |
|---|---|---|
form_statechart_spec.cljc | statechart/form_statechart_spec.cljc | Form statechart chart behavior |
report_statechart_spec.cljc | statechart/report_statechart_spec.cljc | Report statechart chart behavior |
container_statechart_spec.cljc | statechart/container_statechart_spec.cljc | Container statechart chart behavior |
form_statechart_test.cljc | statechart/form_statechart_test.cljc | Form E2E integration tests |
report_statechart_test.cljc | statechart/report_statechart_test.cljc | Report E2E integration tests |
container_statechart_test.cljc | statechart/container_statechart_test.cljc | Container E2E integration tests |
form_spec.cljc | statechart/form_spec.cljc | Form public API |
report_test.cljc | statechart/report_test.cljc | Report public API |
server_paginated_report_spec.cljc | statechart/server_paginated_report_spec.cljc | Server-paginated variant |
incrementally_loaded_report_spec.cljc | statechart/incrementally_loaded_report_spec.cljc | Incrementally-loaded variant |
sc/session_spec.cljc | statechart/session_spec.cljc | Session ID convention |
attributes_spec.cljcids_spec.cljctype_support/date_time_spec.cljctype_support/decimal_spec.cljctype_support/js_date_formatter_spec.cljsrendering/headless_rendering_spec.cljc — keep, update requiresrendering/headless_rendering_test.cljc — keep, update requirestest_helpers.cljc — keep at src/test/com/fulcrologic/rad/test_helpers.cljc, update its requires to use new statechart.* namespacesIn every test file, update:
;; OLD
(:require
[com.fulcrologic.rad.form :as form]
[com.fulcrologic.rad.form-options :as fo]
[com.fulcrologic.rad.form-chart :as form-chart]
[com.fulcrologic.rad.form-expressions :as fex]
[com.fulcrologic.rad.report :as report]
[com.fulcrologic.rad.report-options :as ro]
[com.fulcrologic.rad.routing :as routing]
[com.fulcrologic.rad.sc.session :as session]
[com.fulcrologic.rad.control :as control])
;; NEW
(:require
[com.fulcrologic.rad.statechart.form :as form]
[com.fulcrologic.rad.form-options :as fo] ;; shared, from fulcro-rad
[com.fulcrologic.rad.statechart.form-options :as sfo] ;; engine-specific
[com.fulcrologic.rad.statechart.form-chart :as form-chart]
[com.fulcrologic.rad.statechart.form-expressions :as fex]
[com.fulcrologic.rad.statechart.report :as report]
[com.fulcrologic.rad.report-options :as ro] ;; shared, from fulcro-rad
[com.fulcrologic.rad.statechart.report-options :as sro] ;; engine-specific
[com.fulcrologic.rad.statechart.routing :as routing]
[com.fulcrologic.rad.statechart.session :as session]
[com.fulcrologic.rad.statechart.control :as control])
Also update option key references in test assertions:
fo/triggers → sfo/triggers (in statechart-specific test options)fo/machine → sfo/statechartro/machine → sro/statechartsrc/test/com/fulcrologic/rad/statechart/src/test/com/fulcrologic/rad/sc/ directorysrc/test/com/fulcrologic/rad/ — move or deletedeps.edn — update test paths if neededstatechart/ subdirectorystatechart.* namespacesfo/triggers → sfo/triggers etc.)Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |