Kyle Benesch
Kyle Benesch
> But the process created by the script_runner invocation does a lot of computation. This computation is typically part of the test and most attempts to optimize this can break...
In particular I'm looking at this code and wondering if `compiled` can be cached somewhere. https://github.com/kvas-it/pytest-console-scripts/blob/31a7e3739068ac69a26bb8b3cb327a8664457780/pytest_console_scripts/__init__.py#L320-L325 Not that it will be the greatest boost in performance. It really depends on...
> Say I have one script that creates a giant database from some input files, and then many other scripts that query that database during their computation. I would want...
I mean what they're described is a custom scoped fixture which uses the `script_runner` fixture for commands. Fixtures of different scopes can depend on each other, the scope mainly affects...
I was assuming the default scope would handle this case, but it appears I was wrong. In that case `script_runner` could be marked with `scope="session"` and its attributes should have...