Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make unit tests that use ThreadPoster test doubles faster #2

Open
techyourchance opened this issue Aug 23, 2018 · 0 comments
Open

Make unit tests that use ThreadPoster test doubles faster #2

techyourchance opened this issue Aug 23, 2018 · 0 comments

Comments

@techyourchance
Copy link
Owner

techyourchance commented Aug 23, 2018

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:

  1. Switch UiThreadPosterTestDouble to serial execution on a single thread.
  2. Allow for sharing ThreadPoolExecutors among different test cases (e.g. by making them static).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant