Multithread support
I wonder, if TestInsight client will work fine is the unit test framework (e.g., a modified DUnit) run the tests in parallel? Will it listen and display results accordingly?
Comments (5)
-
repo owner -
reporter Thanks for insightful info @Stefan Glienke . But I used the wrong terms. By client I was referring to the plugin, which I don’t have the source code I guess.
Yes, I can modify the existing units, but once they are done, they will send info to the plugin in non predictable order. My question is, will the plugin handle it accordingly, showing me correct results?
-
repo owner Since it’s all done through one TIdHTTP instance there won’t be any parallelism in the plugin - after all its just a TIdHTTPServer sitting there - well if you would have dozens of test projects running all trying to report to one IDE now that could potentially go wrong.
The order of the results in the list sent to the IDE does not matter.
-
reporter Thank you. Yes, there won’t be a gazillion of simultaneous tests, but a few might come in parallel. I will give it a try and let you know.
-
repo owner - changed status to closed
- Log in to comment
I cannot say this is something I considered when writing it - but the client sources are all available to you, so you are welcome to check them for any multithreading issue.
Quick look through TestInsight.DUnit and TestInsight.Client: