1
0
Fork 0
mirror of https://github.com/imjasonh/testscript-rs synced 2026-07-11 18:39:35 +00:00
Commit graph

17 commits

Author SHA1 Message Date
copilot-swe-agent[bot]
6d20e1331e Fix formatting with cargo fmt
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2025-09-27 01:47:27 +00:00
copilot-swe-agent[bot]
c78f9fca9e Implement symlink built-in command from scratch
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2025-09-27 01:42:31 +00:00
copilot-swe-agent[bot]
7f0380c57d Complete symlink built-in command with proper tests and documentation
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2025-09-27 01:33:11 +00:00
copilot-swe-agent[bot]
e067bb400f Add symlink command documentation and comprehensive error testing
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2025-09-27 01:24:02 +00:00
copilot-swe-agent[bot]
bf04701605 Add comprehensive test for symlink built-in command
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2025-09-27 01:22:07 +00:00
copilot-swe-agent[bot]
35eeab9f32 Initial plan 2025-09-27 01:18:22 +00:00
Jason Hall
0c4315ece8
Refactor run module into modular structure (#18)
## Summary

Refactors the monolithic `run.rs` file into a clean modular structure to
improve maintainability and code organization.

### Changes

- **Split `run.rs` into focused modules:**
  - `run/environment.rs` - TestEnvironment and file operations
  - `run/params.rs` - RunParams configuration and conditions  
  - `run/commands.rs` - Built-in command implementations
  - `run/execution.rs` - Command dispatch and execution logic
  - `run/mod.rs` - Public API coordination

### Benefits

- **Better maintainability** - Each file has clear responsibility
- **Easier navigation** - Find specific functionality quickly
- **Separation of concerns** - Commands, config, environment isolated
- **Prepares for future features** - Clean foundation for WorkdirRoot
and other enhancements

### Test Plan

- [x] All 37 tests still pass
- [x] No functionality changes
- [x] Clean compilation with no warnings
- [x] Pre-commit hooks pass (formatting, linting, compilation)

This is a pure refactoring with no behavior changes - just improved code
organization.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-09-27 01:17:45 +00:00
Jason Hall
d9f9d4f0e6
update readme (#16)
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-26 20:08:39 -04:00
Jason Hall
213d584878
add pre-commit config (#15)
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-26 23:57:51 +00:00
Jason Hall
d5a72d21ae
add release workflow (#14)
#12

Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-26 23:55:50 +00:00
Jason Hall
3a8e953f70
improve error messages with context (#13)
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-26 23:55:13 +00:00
Jason Hall
38bef8a370
Update links in README for Go testscript package (#3) 2025-09-26 23:26:44 +00:00
Jason Hall
643b428567
Update README.md (#2) 2025-09-26 19:18:34 -04:00
Jason Hall
448cf615db
add GHA workflow (#1)
* add GHA workflow

Signed-off-by: Jason Hall <jason@chainguard.dev>

* fix CI

Signed-off-by: Jason Hall <jason@chainguard.dev>

* update readme

Signed-off-by: Jason Hall <jason@chainguard.dev>

* add badge

Signed-off-by: Jason Hall <jason@chainguard.dev>

---------

Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-26 19:08:48 -04:00
Jason Hall
fa546ce09f add stuff
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-26 18:53:41 -04:00
Jason Hall
4074b2ecac add readme, remove redundant tests
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-26 18:53:31 -04:00
Jason Hall
c39114f1a9 initial commit
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-26 18:41:14 -04:00