Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [xtext-dev] Xtext UI Tests failing

- Put all tests that really run an editor into a separate plugin that can be run as JUnit Plugin-test with Workbench. I'd suggest the plug-in name
 org.eclipse.xtext.ui.integration.tests
These are really long running integration tests. Many of them are failing currently, as they rely on extension points being properly configured, which is not the case as we are generating code for several languages into the same test plugin (e.g. org.eclipse.xtext.ui.common.tests).


+1



- Write UI tests in a way they can be executed as plain JUnit tests. With our service registry, we should be able to mock out UI dependent stuff. If that's not possible, you likely mixed UI stuff with business logic. Consider restructuring your service then.

++++1!

:-)
Sven


Back to the top