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>
2.6 KiB
2.6 KiB
Changes
2.0.2
- Rename bin to
node-which
2.0.1
- generate changelog and publish on version bump
- enforce 100% test coverage
- Promise interface
2.0.0
- Parallel tests, modern JavaScript, and drop support for node < 8
1.3.1
- update deps
- update travis
v1.3.0
- Add nothrow option to which.sync
- update tap
v1.2.14
- appveyor: drop node 5 and 0.x
- travis-ci: add node 6, drop 0.x
v1.2.13
- test: Pass missing option to pass on windows
- update tap
- update isexe to 2.0.0
- neveragain.tech pledge request
v1.2.12
- Removed unused require
v1.2.11
- Prevent changelog script from being included in package
v1.2.10
- Use env.PATH only, not env.Path
v1.2.9
- fix for paths starting with ../
- Remove unused
is-absolutemodule
v1.2.8
- bullet items in changelog that contain (but don't start with) #
v1.2.7
- strip 'update changelog' changelog entries out of changelog
v1.2.6
- make the changelog bulleted
v1.2.5
- make a changelog, and keep it up to date
- don't include tests in package
- Properly handle relative-path executables
- appveyor
- Attach error code to Not Found error
- Make tests pass on Windows
v1.2.4
- Fix typo
v1.2.3
- update isexe, fix regression in pathExt handling
v1.2.2
- update deps, use isexe module, test windows
v1.2.1
- Sometimes windows PATH entries are quoted
- Fixed a bug in the check for group and user mode bits. This bug was introduced during refactoring for supporting strict mode.
- doc cli
v1.2.0
- Add support for opt.all and -as cli flags
- test the bin
- update travis
- Allow checking for multiple programs in bin/which
- tap 2
v1.1.2
- travis
- Refactored and fixed undefined error on Windows
- Support strict mode
v1.1.1
- test +g exes against secondary groups, if available
- Use windows exe semantics on cygwin & msys
- cwd should be first in path on win32, not last
- Handle lower-case 'env.Path' on Windows
- Update docs
- use single-quotes
v1.1.0
- Add tests, depend on is-absolute
v1.0.9
- which.js: root is allowed to execute files owned by anyone
v1.0.8
- don't use graceful-fs
v1.0.7
- add license to package.json
v1.0.6
- isc license
1.0.5
- Awful typo
1.0.4
- Test for path absoluteness properly
- win: Allow '' as a pathext if cmd has a . in it
1.0.3
- Remove references to execPath
- Make
which.sync()work on Windows by honoring the PATHEXT variable. - Make
isExe()always return true on Windows. - MIT
1.0.2
- Only files can be exes
1.0.1
- Respect the PATHEXT env for win32 support
- should 0755 the bin
- binary
- guts
- package
- 1st