Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » PowerMockito with xtext(I want to run powerMockito with xtextRunner)
PowerMockito with xtext [message #1802694] Thu, 14 February 2019 07:56 Go to next message
shubhankar chowdhury is currently offline shubhankar chowdhuryFriend
Messages: 17
Registered: January 2018
Junior Member
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 07:56]

Report message to a moderator

Re: PowerMockito with xtext [message #1802695 is a reply to message #1802694] Thu, 14 February 2019 07:58 Go to previous message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 687
Registered: July 2009
Location: Dortmund, Germany
Senior Member

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: Sun Aug 25 11:19:07 GMT 2019

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

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

Back to the top