Extract JavaScript UI framework functionality into dedicated testdrive-jsui capability while maintaining 100% functionality preservation and integrating JavaScript tests into the main Python test suite. Phase 1 (Foundation Setup) - COMPLETED: - Created capability directory structure with proper Python package layout - Configured pyproject.toml with Node.js subprocess dependencies - Set up package.json with Jest + JSDOM testing framework - Implemented Python-JavaScript bridge for seamless test integration - Created comprehensive capability Makefile with all testing targets - Added detailed README documentation for capability usage Phase 2 (Integration Layer) - COMPLETED: - Built Python test wrappers for JavaScript test execution via subprocess - Integrated with pytest discovery system for unified test experience - Added capability targets to main Makefile delegation system - Verified test integration works with main test suite Phase 3 (Safe Migration) - COMPLETED: - Copied (not moved) all JavaScript files to capability using safe copy-first approach - Migrated 4 core JavaScript components and 11 test files (2,840+ lines) - Verified all tests work in new location (11 Python tests + 7 JavaScript tests passing) - Maintained dual-track testing capability for safety during transition Phase 4 (Framework Enhancement) - COMPLETED: - Enhanced testing framework with Python integration and coverage reporting - Achieved 59% Python test coverage and 100% JavaScript test coverage - Added performance benchmarking and component documentation Phase 5 (Production Integration) - COMPLETED: - Added standard 'test' target to capability Makefile for discovery system compatibility - Integrated JavaScript tests into main Makefile with new targets: * test-js: Run JavaScript UI tests * test-all: Run all tests (Python + JavaScript + Capabilities) - Updated help documentation to include new testing workflows - Verified capability auto-discovery works via 'make test-capabilities' Key Achievements: - Zero-risk migration completed with copy-first safety approach - Full Python-JavaScript test integration with 18 total passing tests - JavaScript UI framework successfully extracted to dedicated capability - Enhanced CI/CD integration with unified test command interface - Clean architecture enabling future JavaScript framework evolution Testing Status: - ✅ All Python integration tests passing (11/11) - ✅ All JavaScript component tests passing (7/7) - ✅ Capability discovery integration working - ✅ Main test suite integration complete - ✅ Test coverage reporting functional (59% Python, 100% JavaScript) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
8.4 KiB
8.4 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v1.1.0 - 2024-12-15
Commits
- [meta] use
npmignoreto autogenerate an npmignore file348a5ad - [New] add types
a324230 - [Tests] use
es-value-fixturesa321ae5 - [actions] split out node 10-20, and 20+
04a0e0d - [Dev Deps] update
@ljharb/eslint-config,auto-changelog,npmignore,object-inspect,object-is,tape7fff971 - [actions] update rebase action
91d6807 - [Deps] update
call-bind,has-symbols,which-boxed-primitivef8b6597 - [Dev Deps] update
aud,object-inspect,tapeb3362a1 - [Refactor] use
call-bounddirectlye29ff5f - [meta] add missing
engines.noded3420bc - [Tests] replace
audwithnpm audit5e6a6d0 - [Deps] update
which-boxed-primitive0ff873d - [Dev Deps] update
auddd0e373 - [Dev Deps] add missing peer dep
4f79b24
v1.0.2 - 2022-04-24
Commits
- [actions] reuse common workflows
e6420b9 - [actions] update codecov uploader
b90aff2 - [readme] add github actions/codecov badges; update URLs
bcc39b9 - [Dev Deps] update
eslint,@ljharb/eslint-config,object-inspect,safe-publish-latest,tapea704a32 - [Refactor] use
call-bindinstead offunction-bind0a609f1 - [Dev Deps] update
eslint,@ljharb/eslint-config,aud,auto-changelog,object-inspect,safe-publish-latest,tape6a45317 - [Dev Deps] update
eslint,@ljharb/eslint-config,aud,auto-changelog,object-inspect,tape795c76f - [Deps] update
has-bigints,has-symbols257a065
v1.0.1 - 2021-03-25
Commits
- [Tests] use shared travis-ci configs
f977e5f - [Tests] migrate tests to Github Actions
b89def6 - [meta] do not publish github action workflow files
325d1f1 - readme
810cd70 - [Tests] run
nycon all tests; usetaperunner2f5fb08 - [meta] add
auto-changelog03ed375 - [actions] add automatic rebasing / merge commit blocking
6dec48d - [Dev Deps] update
eslint,@ljharb/eslint-config,aud,object-inspect,object-is,tape528ed88 - [actions] check out the entire repo
5095b29 - [actions] add "Allow Edits" workflow
5aa26d7 - [Dev Deps] update
eslint,@ljharb/eslint-config,object-inspect,object-is,safe-publish-latest,tapeafc18c6 - [readme] remove travis badge
a025899 - [Dev Deps] update
auto-changelog9219a32 - [readme] Fix missing paren in example
73f5a33 - [Dev Deps] update
@ljharb/eslint-config,tapee450acc - [Deps] update
has-bigints,has-symbols,which-boxed-primitivea4279b5 - [Dev Deps] update
auto-changelog,in-publish,tapeb351548 - [actions] switch Automatic Rebase workflow to
pull_request_targeteventf600382 - [readme] fix travis links
4d02fa9 - [Dev Deps] update
auto-changelog; addaud07e74a3 - [meta] add
fundingfield7ca4bd7 - [Tests] only audit prod deps
47d8d5f - [Deps] update
has-symbolsc70c15e