Automated tests fro IDEA custom language plugins

Hi,

I'm new to this forum but not new to using IntelliJ. My company is considering writing an IntelliJ plugin for a custom-designed programming language. My question is what automated testing libraries does IntelliJ provide? Is testing at the UI level possible?

Thanks,
Dumitru.

3 comments
Comment actions Permalink

Hello Dumitru,

IntelliJ IDEA provides a framework to test the features of custom languages
plugins and other plugins that work with code. The testing is performed at
the level of the underlying model, not the UI.

It's certainly possible to test plugins at the UI level, but IntelliJ IDEA
doesn't provide any ready-made solution for that; you'll have to figure that
on your own. However, a typical custom language plugin contains very little
custom UI; most of the UI is provided by the IntelliJ Platform.

I'm new to this forum but not new to using IntelliJ. My company is
considering writing an IntelliJ plugin for a custom-designed
programming language. My question is what automated testing libraries
does IntelliJ provide? Is testing at the UI level possible?


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


0
Comment actions Permalink

I agree with all you say, for a language I trust IDEA's UI! However we intend to also write a few editors that are just buttons, text fields, checkboxes, etc. Do I understand you right that IDEA deoes not have a way to test those at the UI level?

0
Comment actions Permalink

Hello Dumitru,

You'll have to figure out a way to test those at the UI level on your own.
We don't see much value in such tests, so we haven't developed any tools
for that.

I agree with all you say, for a language I trust IDEA's UI! However we
intend to also write a few editors that are just buttons, text fields,
checkboxes, etc. Do I understand you right that IDEA deoes not have a
way to test those at the UI level?


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


0

Please sign in to leave a comment.