Skip to content

feat: add test coverage#7

Merged
gigatim merged 7 commits intomainfrom
feat-add-test-coverage
Mar 12, 2026
Merged

feat: add test coverage#7
gigatim merged 7 commits intomainfrom
feat-add-test-coverage

Conversation

@gigatim
Copy link
Copy Markdown

@gigatim gigatim commented Mar 12, 2026

No description provided.

gigatim added 7 commits March 12, 2026 14:03
Verify that bin/detect correctly identifies Elixir
projects by checking for mix.exs presence, returning
exit 0 with "Elixir" output when found and exit 1
when absent.
Cover all 17 path builder functions: build/runtime
platform tools, erlang, elixir, hex home, mix home,
plus cache paths (stack-based, deps/build backup,
mix/hex backup, erlang/elixir cache).
Test erlang_tarball filename generation and
erlang_builds_url for all stack variants (heroku-20,
heroku-22, heroku-24, and unknown/fallback).
Test otp_version extraction (full, major.minor,
major-only formats) and elixir_download_file
filename generation for different version combos.
Cover export_mix_env (default, env file, preserve),
export_env_vars (export, blacklist, missing dir),
check_stack (cedar reject, write file, change),
and clean_cache (skip vs force rebuild).
Test export_var, export_default_var, profile/export
env var generation, write_profile_d_script creation,
and write_export file generation.
Verify bin/release outputs correct YAML format with
document separator, empty addons list, and default
web process type (mix run --no-halt).
@gigatim gigatim changed the title Feat add test coverage feat: add test coverage Mar 12, 2026
@gigatim gigatim merged commit 5a7ed86 into main Mar 12, 2026
1 check 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