JamesHutchison / pytest-hot-reloading

A hot reloading pytest daemon, implemented as a plugin
MIT License
89 stars 2 forks source link

#14 improve client and subsequent call perf #26

Closed JamesHutchison closed 1 year ago

JamesHutchison commented 1 year ago

Addresses #14

This reduces the imports done by the client, as well as adds caching of the test collection. Effectively what was done:

This also addresses an issue where the system exit was preventing cProfile from working. Instead of directly exiting the process, this is returning the status code back to pytest