Consider using scripttest
In #134, we replaced scripttest with a simple subprocess invocation. This approach enabled running the tests on Windows.
Furthermore, #146 simplifies and unifies the test suite even more by leveraging pytest for the script execution.
https://github.com/reubano/csv2ofx/issues/131#issuecomment-2708466868 suggests that a recent release of scripttest 2.0 might be useful.
Integrating scripttest would be mostly focus on facilitating some of the work here:
https://github.com/reubano/csv2ofx/blob/74071490ca77df9beb22a10dade883b9b1ecd5d4/tests/test_cli.py#L129-L141
If someone is interested in investigating what it would take to integrate it, I'd be interested to see how much benefit it can provide (and what downsides there might be).
FWIW, scripttest is mostly unmaintained. It's technically a pip sub-project, but it has been given essentially zero love in the past few years. I did cut release 2.0 to clear out some of the cruft (and finally provide a wheel) but I don't have any immediate plans for feature development. If you have any feature requests, I'd be interested in hearing them, but I can't promise they will happen.
Honestly, I doubt scripttest would be that useful for y'all here. It's rather limited. It was created a long time ago before pip had good testing infrastructure.
Thanks for sharing. That was my instinct too. Let's close this issue. Feel free to comment or re-open should you feel motivated to pursue it.