Refactor TestNG Autowired Resource

The @Resource TestNG annotation autowires with the property name as well as the type.
However, although IDEA recognises that it is autowired and jumps to the correct bean, when I refactor the name it doesn't change the name in the spring.

2 comments

Hello opticyclic,

The @Resource TestNG annotation autowires with the property name as
well as the type.

However, although IDEA recognises that it is autowired and jumps to
the correct bean, when I refactor the name it doesn't change the name
in the spring.


Please file a YouTrack issue.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.