jjfoerch
unread,Jan 3, 2009, 3:59:55 PM1/3/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to shunit2-users
Hello,
Is there a way to abort testing?
I am testing a program which can run as a background process in
certain
circumstances. I want to ensure, before each test, that the program
is not
already running as a background process because that would invalidate
the
test. I also want to ensure, after each test, that the program was
correctly
ended, and its process is not still running.
I am going to perform the "is-running" test with a simple call to
pidof.
However, is there a way to make shunit2 abort all testing from
within a setUp
or tearDown?
Thank you,
John Foerch