Releases: codecrafters-io/shell-tester
Releases · codecrafters-io/shell-tester
v80
v79
Changelog
- 7ac536e Merge pull request #119 from codecrafters-io/F-6867
- 731a6ad refactor: remove unused render function and clean up imports in test cases
- 329a7ee fix: increase delay between TAB presses to ensure proper registration
- a615505 feat: add flakiness test script
- c6b449f fix: add delay between multiple tab presses
v78
Changelog
- 7dc4d92 Merge pull request #117 from codecrafters-io/andy/fix
- df42ed3 refactor: dynamically set terminal size in shell executable based on virtual terminal dimensions
- 144df01 refactor: adjust default terminal size in shell executable to 100x120
- 3435606 refactor: update shell executable to start with a specified terminal size
v77
Changelog
- 31bac6a Merge pull request #113 from codecrafters-io/create-unique-dirs
- a87963d docs: improve comments in GetShortRandomDirectory for clarity and add TODO for error handling
- a36fb57 Merge branch 'main' into create-unique-dirs
- 4bce235 Merge pull request #112 from codecrafters-io/dir-cleanup-panic
- d07fe67 refactor: simplify random directory generation by removing cleanup option
- 5b28906 refactor: update function names for random directory generation to follow naming conventions
- 61a4f38 refactor: rename getRandomDirectoryWithCleanup to GetRandomDirectory for consistency
- 160eec6 tests: update fixtures
- 0ad7b43 chore: remove debug print statement in random directory generation
- a5fb432 chore: add Python 3 to devcontainer setup
- 33e294f feat: improve short random directory generation with collision handling
- fe369a7 refactor: revert to default random directory generation for short directories
- 4b6c58e refactor: add cleanup to random directory generation functions
- 967b1b4 refactor: improve random directory generation with optional cleanup
v76
v75
Changelog
- 0ac5bbc Merge pull request #110 from codecrafters-io/non-exe-on-path
- 9b7f274 test: update fixtures
- dccad81 fix: correct variable naming and scoping in PATH resolution test
- faf871f refactor: improve PATH resolution test with clearer comments and variable naming
- c9cae9d test: enhance executable resolution test with multi-directory scenario
v74
Changelog
- 09b5ca7 Merge pull request #107 from codecrafters-io/add-secondary-shells
- 46e813f Merge pull request #109 from codecrafters-io/fix-bell-assertions
- cf6c251 refactor: simplify bell signal reception logic in checkIfBellReceived function
- 04f24b4 refactor: improve bell assertion with timeout constant and comments
- 8b82278 Merge branch 'main' into add-secondary-shells
- 6f0c84f fix: update timeout to 100ms
- a97cefe Merge pull request #108 from codecrafters-io/debugging-setup
- ff7b5b9 refactor: improve bell assertion handling in multiple completions test case
- cbf3013 refactor: simplify bell assertion handling in command autocomplete test case
- 4bd5a14 feat: add
BellAssertion
for checking terminal bell events - 0053239 feat: update devcontainer configurations to use Alpine image and enhance postCreateCommand
- 7abee2c feat: update postCreateCommand to install additional tools
- 9909271 feat: create multiple devcontainers for debugging
- 83a20b1 refactor: move cd to function
- 672f82b feat: add more stages
- c6a7e3e chore: add debug commands to Makefile
- bcd8e9b chore: fix lint
- 53b5e56 ci: update test workflow to exclude ash and add new test target
- d0300b5 test: add fixtures for ash
- 8a0780a ci: expand stages tests for bash and ash environments
- f2ca224 chore: clean up stages test
- c7497ab chore: update
x/vt
version - b6e3331 ci: remove debug logging from condition_reader to streamline read process
- 9acec95 ci: refactor completion stages in Makefile and add debug logging in condition_reader
- fbeaec9 ci: remove bpfcc-tools during Ubuntu environment setup
- bb3a11d ci: add step to install zsh in the Ubuntu environment for testing
- 6359591 ci: update test command to use sudo for running zsh tests on Alpine
- 89c4a1b ci: update shell command to include root option for zsh tests on Alpine
- 585e152 ci: change shell to bash for running tests on Alpine
- c0c1f6a ci: add step to run tests against zsh outside ash shell
- f0faa5e fix: revert change to stage list for zsh, add logging
- 1999800 test: remove a2 to test zsh runs
- ac4bace fix: update ZDOTDIR path
- 2676cc3 ci: add separate job for testing all shells on Alpine
- ef854bd ci: update Alpine dependencies to include zsh
- 98509a8 fix: remove unnecessary sudo from shell cleanup script
- ae45253 ci: update Alpine dependencies to include dash in workflow setup
- d1ba081 test: update fixtures
- 8e907d6 ci: update GitHub Actions workflow to run tests across all shells on Alpine; add git config setup step
- ec3e16d refactor: rename and restructure completion stages in Makefile for improved clarity; implement quoting function for stage arrays
- 57735a2 feat: enhance zsh config
- b1c4f31 fix: correct ZDOTDIR path in your_shell.sh and remove obsolete .zshrc configuration
- a662752 feat: add initial zsh configuration for improved completion and bracketed paste support
- 0764c90 refactor: update test to work across all shells
- 6bc655d refactor: convert stage definitions in Makefile to use define for improved clarity and maintainability
- acc080e refactor: restructure quoting, redirection, and completion stages in Makefile for improved readability and maintainability
- 51ab881 feat: update testQ4 to use fallback patterns for zsh and dash
- 6350cc6 feat: enhance test case structure with fallback patterns support
- 2cc7da3 feat: add fallbackPatterns for
dash
- 1a5d232 feat: add fallbackPatterns for
zsh
- 16aecc4 Merge pull request #106 from codecrafters-io/dep-upgrade
- 674dac7 chore: simplify build command in Makefile
- 5f9bc66 chore: remove vendored repo code
- 3afc40d chore: remove vendored dependency
- f984c75 chore: update
x/vt
version - 0243db1 chore: update Go version to 1.23.x in workflow
- 77f2865 chore: update staticcheck version to 2024.1.1 in workflow
- 2699fbc chore: update staticcheck action version to 1.3.1 in workflow
- 89db759 chore: update staticcheck version to 2024.1 in workflow
- 6e39296 chore: remove
toolchain
directive and upgrade - 2542383 chore: go mod tidy
- 8f546ca fix:
vt
bug forED
interpretation - 55a1d14 chore: add replace directive for vendored dependency of
x/vt
in go.mod - 0a81f8d feat: add vendored dependency for
x/vt
- 9d0a0ec chore: add tests against zsh
- 44af618 chore: add tests agains dash
- 38e9a42 refactor: reintroduce bash test stages and add dash support for base, navigation, quoting, and redirection tests
- 9d4feab refactor: consolidate test stages and improve test execution for bash and ash environments
- d514995 feat: add redirection test stages and unify test execution for redirections and completions
- e4461b3 refactor: streamline completion tests by consolidating test case definitions and improving build commands
- bc03472 chore: update Go version and dependencies to latest releases
- 16ac366 chore: update devcontainer image to dev-alpine3.21
v73
Changelog
- 898a293 Merge pull request #99 from codecrafters-io/completions-fw
- 31eb019 Merge pull request #105 from codecrafters-io/devcontainer
- 7710e69 test: update fixtures
- d501a10 fix: revert changes done for vt-repro
- 0d8437c refactor: remove SuccessMessage field from CommandAutocompleteTestCase in stages A1, A2, A3, and A4 to streamline logging
- eb6eed2 refactor: remove SuccessMessage field from command test cases and improve logging of expected output
- 5b76da9 refactor: update inputArgsAndCompletion for shell commands and improve logging
- 4e3a9e5 refactor: standardize logging prefix in writeFiles function
- 5dee163 test: update fixtures
- 4c86390 refactor: update stage slugs in test cases and definitions
- 48e27b8 chore: update Dependabot configuration to include daily updates for Go modules
- a3f34a7 chore: update Dependabot configuration to use devcontainers with weekly update schedule
- fbe4690 feat: add devcontainer configuration for Alpine environment with Go support
- d33464f feat: add minimal repro for completions issue on ash
- cd2c8a6 feat: add mainVTExample.go for terminal graphics rendering
- 6231f52 refactor: improve logging of shell state in test execution
- d04ba04 refactor: enhance logging in vt writes
- 7f3c0d4 refactor: enhance logging in ConditionReader
- 26bfaad Merge pull request #103 from codecrafters-io/fw-upgrades
- 78a5165 Merge pull request #100 from codecrafters-io/add-setup-logs
- d2d28c2 chore: fix lint
- d188a49 refactor: simplify Run method signatures in test cases
- e4993f7 refactor: remove copyFile function and related logic
- 969ca83 refactor: remove unused testAX function and associated code
- 6f7e07f refactor: update VirtualTerminal initialization and callback handling
- 4da8251 refactor: standardize logger variable naming in test functions
- cd44b7c test: update fixtures
- 6034a01 refactor: centralize logging of available executables in test functions
- b3afd9e test: update fixtures
- c2a789a refactor: update testQ6 to streamline command setup and enhance logging
- 5f33023 refactor: simplify copyFile functions by removing logger dependency
- 649c5ef refactor: enhance logging in testQ6 and clean up copyFile function
- ee02d6d refactor: add utility functions for creating test case contents
- 10dfa3d refactor: handle error from writeFiles call in testQ6 function
- c1838e5 refactor: consolidate writeFiles calls in testQ functions for improved clarity
- 644a8cd refactor: improve logging in writeFiles function for better clarity
- 3fcee20 refactor: remove unused files in r4
- d76649b refactor: enhance logging in copyFile function
- 102f9c8 refactor: enhance logging in SetUpCustomCommands and streamline AddToPath
- c693a27 refactor: introduce utils_build and utils_fs for command setup and file handling
- 6bf38ca refactor: streamline command setup in stage7.go
- d484d9c refactor: simplify command setup in stage8.go
- 94eb318 refactor: replace SetUpSignaturePrinter with SetUpCustomCommands in stage functions
- c967849 refactor: streamline signature printer setup in SetUpCustomCommands
- 7b89b24 refactor: unify command setup across multiple stages
- 3f62387 refactor: standardize command setup across stages
- 0fa75c1 refactor: update SetUpCustomCommands to use CommandDetails struct
- 91d023a refactor: enhance SetUpCustomCommands
- 8a7402c test: update fixtures
- e6056bb feat: remove
typ
from stage1 - b2f3d25 test: update fixtures
- b1e1651 test: add success logging for prompt line match in CommandPartialCompletionsTestCase
- 6bb04b5 refactor: update CommandPartialCompletionsTestCase and modify testA6 to use new input structure
- 915b757 docs: add comments on partial_completions
- a9ece99 ci: setup env in flakiness test
- dff620d test: increase timeout for VTBellChannel check in command autocomplete tests
- 4668d2f ci: update ash tests
- 8077e6e chore: update flakiness test
- 98bf056 chore: add bash completions test
- 1f8f652 chore: fix lint
- 40d8324 chore: fix lint
- fe8e19f test: add fixtures
- 6c24dad feat: implement CommandPartialCompletionsTestCase and update testA6 to utilize it
- eae99ce chore: add prerequisites for testing a6
- 39f05d6 wip: add a6 for testing on ubuntu
- 36072da fix: make sure vt is not nil before accessing it
- 5601f0d feat: add exe available logs
- 17e4696 wip: add improvements
- dc13631 chore: fix lint
- 0dc86b0 ci: update go version on CI
- f7dea68 ci: remove collisions for exit completion
- 1bf4818 ci: test for executables on path
- 727cf22 ci: use latest ubuntu version for ci runner
- e1a9f64 ci: test bash version
- 01785c8 test: add fixtures
- a40d03d chore: fix lint
- 9223bde chore: fix lint & setup ci tests
- 99cae3a feat: add CheckForBell support to testA3 and testA5 functions
- ca14e47 feat: add CheckForBell support to CommandMultipleCompletionsTestCase
- 8887a70 feat: enhance CommandAutocompleteTestCase with bell assertion support
- 2446783 feat: enhance VirtualTerminal with bell handling and channel support
- cea4e61 feat: add VTBellChannel method to ShellExecutable for improved event handling
- 157f36f chore: add new stages to tester
- 841e075 feat: add CommandMultipleCompletionsTestCase for enhanced command completion testing
- f944ef9 fix: revert adding tab counts to single completion testcase
- e41e64e feat: enhance CommandAutocompleteTestCase with TabCount support
- aa838fb feat: add testA3 function for command autocomplete testing
- fb74206 feat: add testA5 function for command autocomplete testing
- af9ec53 feat: enhance testA4 function with signature printer setup and path management
- 702296f feat: add testA4 function for command autocomplete testing
- a8c6a97 refactor: rename variable for clarity and add new test case for command completion
- 5b928ae feat: implement testA2 function and a2Helper for command autocomplete testing
- c2ca56c feat: add CommandAutocompleteAndResponseTestCase for comprehensive command testing
- e2593c8 refactor: update StartShellAndAssertPrompt method to accept a skipSuccessMessage parameter
- 1577f4d fix: improve logging for TAB key interactions in command completion tests
- 703eb67 feat: add CommandAutocompleteTestCase for enhanced command completion testing
- 1d2cc84 feat: refactor command completion logic in stage_a1.go
- bdabeec refactor: move poc to stage_ax file
- d24eea6 feat: add success logging for prompt reception in LoggedShellAsserter
- 57f9eef feat: enhance command validation in CommandWithAttemptedCompletionTestCase
- b33f517 chore: fix lint
- 4a387ac fix: update Inspect method in MultiLineAssertion to use %v for better output formatting
- 1576a02...
v72
Changelog
- ff71711 Merge pull request #102 from codecrafters-io/fix-exit-on-exe
- 3cc09dc chore: update built executables for cat and ls commands across darwin and linux platforms
- 7a2fdc6 refactor: update runLs function to return exit code and enhance error handling in ls tests
- 7d919dc refactor: improve ls test suite and enhance cleanup functionality
- 3a7b256 refactor: modify runCat function signature and enhance test cleanup
- 42ff6d3 test: include exit code in runCat function and update tests
- a61b390 feat: update exit code in case of cat errors
- 9651992 feat: update exit code in case of ls errors