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: 714
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 Jan 19 18:43:28 GMT 2020

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

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

Back to the top