cleaning up before stoping an integration test

已回答

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

Hello,

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

0

请先登录再写评论。