I am fiddling a bit going through predicates to d...
# arrow-meta
n
I am fiddling a bit going through predicates to determine whether a certain PsiElement meets some conditions. Is there any way to write some small tests where I can play with instantiated PsiElements in order to inspect them and test my predicates?
s
IDEA has PsiViewer plugin, so that could be one. You can also try testing with arrow meta, it allows you to write snippets as a string, compile them and test output.
💯 1
n
That is exactly what I needed, thank you!
r
Also take a look at the Quotes tests in meta which test different element of the AST
👍 1
r
@Nico I spent a day to figure out what works for me. I have put it down as a blog post. Hope it helps.