cleaning up before stoping an integration test

Answered

I have a lengthy integration test using JBehave and I want sometimes to stop it. However, stopping it will prevent some cleaning up logic (exists in a specific method) for the database to be called.

Is there a way in IntelliJ that by clicking on the stop button, will first invoke a specific method before force stopping the integration test?

1
1 comment

Hello,

Please vote for the related request on YouTrack: https://youtrack.jetbrains.com/issue/IDEA-174265

0

Please sign in to leave a comment.