[googletest] run tests in a separate environment (as in process or thread)
166 views
Skip to first unread message
Stefan Schwoegler
unread,
May 7, 2010, 4:38:48 PM5/7/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google C++ Testing Framework
I'd like to have every test run in an "clean" environment to ensure
there is no test dependency. Is this currently possible with gtest?
Perhaps by utilizing an EventListener? Any thoughts would be much
appreciated.
Vlad Losev
unread,
May 8, 2010, 7:26:11 PM5/8/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google C++ Testing Framework
Hi Stefan,
It would help if you elaborate on what kind of test dependency you are talking about. If you want to execute each test in a separate process, you can try using test sharding., although it is best if the code under test is abstracted of its dependencies so that tests can substitute them.