Skip to main content



      Home
Home » Modeling » TMF (Xtext) » PowerMockito with xtext(I want to run powerMockito with xtextRunner)
PowerMockito with xtext [message #1802694] Thu, 14 February 2019 02:56 Go to next message
Eclipse UserFriend
Is it possible to run powerMockito with xtextRunner

As to use powerMockito , we need to give @RunWith(PowerMockRunner) instead of@RunWith(XtextRunner) but if i do so i am getting an error as Initialization error

[Updated on: Thu, 14 February 2019 02:56] by Moderator

Re: PowerMockito with xtext [message #1802695 is a reply to message #1802694] Thu, 14 February 2019 02:58 Go to previous message
Eclipse UserFriend
No, you can only use one runner. You might want to create your own runner that combines both functionalities. Or switch to JUnit 5 based testing, where you can have multiple extensions instead of runners.
Previous Topic:XText 2.16 looking for XBase lib 2.10
Next Topic:Modify template proposal description
Goto Forum:
  


Current Time: Tue Jun 17 20:09:00 EDT 2025

Powered by FUDForum. Page generated in 1.07925 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top