Closed 0xDEC0DE closed 10 months ago
There is a small bootstrapping problem with the pyproject.toml support.
pyproject.toml
rm -rf .stestr .stestr.conf
stestr run
It runs the defined tests
No config file found and --test-path not specified. Either create or specify a .stestr.conf or use --test-path
Providing a --test-path switch for the first run will allow the pyproject.toml to be used for all runs thereafter.
--test-path
It is also possible to "fake it" and create a repo directory by hand:
mkdir .stestr echo 0 > .stestr/next-stream echo 1 > .stestr/format
This appears to be due to some extra bootstrapping code in the run workflow that was overlooked, and not under test.
run
There is a small bootstrapping problem with the
pyproject.toml
support.Steps to reproduce
pyproject.toml
rm -rf .stestr .stestr.conf
stestr run
Expected result
It runs the defined tests
Actual behavior
Workaround
Providing a
--test-path
switch for the first run will allow thepyproject.toml
to be used for all runs thereafter.It is also possible to "fake it" and create a repo directory by hand:
Miscellany
This appears to be due to some extra bootstrapping code in the
run
workflow that was overlooked, and not under test.