Skip to content

refactor: remove pytest parametrize support, keep fixture features only#12

Merged
sigfriedCub1990 merged 1 commit into
mainfrom
feat/fzf-lua-integration
Mar 6, 2026
Merged

refactor: remove pytest parametrize support, keep fixture features only#12
sigfriedCub1990 merged 1 commit into
mainfrom
feat/fzf-lua-integration

Conversation

@sigfriedCub1990
Copy link
Copy Markdown
Owner

Summary

Remove all pytest parametrize and cache-related functionality, keeping only the fixture features (jump, rename, usages).

Changes

Deleted modules

  • call_spec.lua — parametrize call parsing
  • nodeids.lua — pytest cache nodeids reader
  • marks.lua — virtual text extmarks for parametrize
  • strings.luasplit_once helper (only used by nodeids)
  • tables.luareverse/list_map helpers (only used by parametrize code)
  • jump/param.lua — jump to parametrize declaration

Deleted tests

  • call_spec_spec.lua, nodeids_spec.lua, strings_spec.lua, tables_spec.lua

Modified

  • api.lua — removed clear(), set(), jump()
  • jump/init.lua — removed param import
  • init.lua — removed Pytrize, PytrizeClear, PytrizeJump commands
  • paths.lua — removed .pytest_cache/pytest.ini from root markers, removed get_nodeids_path()
  • rename_spec.lua — use .git instead of .pytest_cache as root marker in test
  • README.md — rewritten to focus on fixture features only

Net: -890 lines, +37 lines. All tests pass.

Remove all modules related to pytest.mark.parametrize and pytest cache:
- Delete call_spec.lua, nodeids.lua, marks.lua, strings.lua, tables.lua
- Delete jump/param.lua and its tests
- Remove Pytrize, PytrizeClear, PytrizeJump commands
- Remove .pytest_cache and pytest.ini from root markers
- Remove get_nodeids_path from paths.lua
- Update rename test to use .git instead of .pytest_cache as root marker
- Rewrite README to focus on fixture features only
@sigfriedCub1990 sigfriedCub1990 force-pushed the feat/fzf-lua-integration branch from a8507ad to 3a47715 Compare March 6, 2026 07:08
@sigfriedCub1990 sigfriedCub1990 merged commit 542f02d into main Mar 6, 2026
2 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