The current unit tests performance is acceptable for small and medium sized projects, but can be problematic for big projects that might have 1000+ multi-threaded test cases.
Some initial ideas to research:
- Switch UiThreadPosterTestDouble to serial execution on a single thread.
- Allow for sharing ThreadPoolExecutors among different test cases (e.g. by making them static).