October 23, 2008
Multithreaded Unit Testing Utility for .NET
Thanks to Tim Ross who sent me this link to some code written by Roy Osherove that helps you write unit tests that involve multiple threads.I haven't tried it, but from his blog post, I think whatb it does is ensure that your threads all finish before your test does. Or that they all time out at the same time.
It doesn't answer the question of multithreaded code being non-deterministic, so it won't eliminiate the problem of random failures, for example. But it does at least simplify the business of applying multiple threads of execution in the same unit test.
Posted 13 years, 3 months ago on October 23, 2008
Navigation
Blogs I Read
Sections
Third-Generation Testing
Agile Development
Apes With Hobbies
Application Lifecycle Management
Apprenticeships
Architecture
Back To Basics
Bletchley Park
Boffoonery!
Books
Codemanship
Code Smells
Complexity
Continuous Inspection
Education
Events
In The News
Innovation
Legacy Code
Metrics
Microservices
Multithreading
Music By Programmers
Site News
Nonlinear Management
Podcast
Post-Agile
Products
Professionalism
Reality-driven Development
Refactoring
Reliable Software
Requirements
Small Teams
Software Craftsmanship
Software Process Improvement
Test-driven Development
UML
User Experience Design
Agile Development
Apes With Hobbies
Application Lifecycle Management
Apprenticeships
Architecture
Back To Basics
Bletchley Park
Boffoonery!
Books
Codemanship
Code Smells
Complexity
Continuous Inspection
Education
Events
In The News
Innovation
Legacy Code
Metrics
Microservices
Multithreading
Music By Programmers
Site News
Nonlinear Management
Podcast
Post-Agile
Products
Professionalism
Reality-driven Development
Refactoring
Reliable Software
Requirements
Small Teams
Software Craftsmanship
Software Process Improvement
Test-driven Development
UML
User Experience Design
Props: