Skip to content

Adjustments and bugfixes of rc-1#34

Merged
tomas-stefano merged 15 commits intomainfrom
adjustments
Feb 3, 2026
Merged

Adjustments and bugfixes of rc-1#34
tomas-stefano merged 15 commits intomainfrom
adjustments

Conversation

@tomas-stefano
Copy link
Copy Markdown
Owner

@tomas-stefano tomas-stefano commented Feb 2, 2026

  • Add bundle to commands
  • Add color to commands being run
  • Auto discover any app dir in Rails and Padrino apps

Add support for other languages

  • Python
  • Elixir
  • Rust

Instead of hardcoding app/models, app/controllers, etc., now
dynamically discovers all app/* directories that contain Ruby files.
This supports custom directories like app/components, app/wizards, etc.

Directories without .rb files (views, assets) are skipped.
- Use PTY instead of pipe in CommandRunner to preserve terminal colors
- Add bundle exec support when Gemfile is present (bundler enabled by default)
- Print command before execution when verbose mode is enabled
- Simplify command building, remove old ruby -S approach
Light cyan for [InfinityTest] label, green for the command.
…t strategy

- ExUnit test framework: parses mix test output (tests, failures, skipped)
- ElixirMix framework: watches lib/*.ex and test/*.exs files
- ElixirDefault strategy: runs mix test command
- Auto-discovers Elixir projects by detecting mix.exs
- Detects Phoenix projects by lib/*_web directory
- Watches all lib subdirectories (my_app, my_app_web)
- Maps lib changes to corresponding test files
- Higher priority than ElixirMix in auto-discover
…fault strategy

- Pytest test framework: parses pytest output (passed, failed, skipped)
- PythonPackage framework: watches src/, lib/, and package directories
- PythonDefault strategy: runs pytest command
- Auto-discovers Python projects by pyproject.toml, setup.py, or setup.cfg
- Supports tests/ or test/ directories with test_*.py or *_test.py patterns
- Django framework: detects manage.py, watches app directories (models, views)
- FastAPI framework: detects FastAPI imports, watches app/, routers/, api/ dirs
- Both have higher priority than generic PythonPackage
- Ideal for ML/AI web applications and API services
- Add Table of Contents entries for new language sections
- Document ExUnit, Phoenix, and ElixirMix for Elixir
- Document Pytest, Django, FastAPI, and PythonPackage for Python
- Update command line options with new frameworks
- Mark Elixir and Python support as experimental
…stDefault strategy

- CargoTest test framework: parses cargo test output (passed, failed, ignored)
- RustCargo framework: watches src/*.rs and tests/*.rs
- Rocket framework: detects rocket dependency, same watching pattern
- RustDefault strategy: runs cargo test command
- Auto-discovers Rust projects by Cargo.toml
- Runs module-specific tests when source files change (src/user.rs -> cargo test user)
@tomas-stefano tomas-stefano merged commit 96ff7c7 into main Feb 3, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant