Is it possible to modify and extend functionality of an existing action

Hi,

I'd like to add some code to the CreateNewTest output. Is it possible to change the existing create new test action?
If not, when adding a new test, the user required to select a super class. Is it possible to add a default super class to the existing ones?

Thanks

1 comment
Comment actions Permalink

Hi Axelrod,

Some of action's output you can change in file tempaltes (Settings | File and Code Templates | Code).

I believe that in order to reimplement behaviour of this action you can just implement your own com.intellij.testIntegration.TestFramework, you can see an example in testng plugin: https://github.com/JetBrains/intellij-community/tree/master/plugins/testng

0

Please sign in to leave a comment.