Are there any tutorials which show how to write te...
# compose-desktop
t
Are there any tutorials which show how to write tests for Compose for Desktop?
h
I'm also interested.
p
There is this: Testing your Compose layout which is not trivial going at all. And, it would seem, not fully implemented, or, in other words, not ready for prime time.
g
And, it would seem, not fully implemented, or, in other words, not ready for prime time.
What do you mean? It is supported, what kind feature is missing? We write UI tests with compose on Android and so far didn’t find any blockers related to testing
is not trivial going at all.
As any UI testing
p
@gildor There are currently a number of assertions not implemented for compose desktop, one of which is
assertIsDisplayed()
so I am attempting to implement it now. It is implemented for Android but not desktop (JVM). Not sure about Web or Native. Interested in working on it with me?
g
Makes sense, I do not talk that everything available for Desktop, I just understand your message in a way that it’s not implemented for Compose in general (probably link on Compose for Android documentation confused me)
p
No problem. Since the OP was writing in #compose-desktop that was the scope of my attempt to be helpful. Definitely was not trying to agitate or misrepresent.
👍 1