Skip to content

nbdev-test takes its path as a positional argument - #1641

Merged
jph00 merged 1 commit into
mainfrom
pr/nbdev-test-takes-its-path-as-a-positional
Aug 29, 2026
Merged

nbdev-test takes its path as a positional argument#1641
jph00 merged 1 commit into
mainfrom
pr/nbdev-test-takes-its-path-as-a-positional

Conversation

@jph00

@jph00 jph00 commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

nbdev-test nbs/00_core.ipynb now works: path is an optional positional
argument, matching pytest and friends. Bare nbdev-test still tests the
whole project, and the Python nbdev_test(path=...) signature is unchanged.

This replaces the --path flag, which is no longer accepted: scripts using
nbdev-test --path ... should drop the flag. The usage examples in the
nbdev.test docs and the modular nbdev tutorial use the new spelling.

@jph00 jph00 added the enhancement New feature or request label Aug 29, 2026
@jph00
jph00 merged commit bd6601a into main Aug 29, 2026
@jph00
jph00 deleted the pr/nbdev-test-takes-its-path-as-a-positional branch August 29, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant