This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDevelop + PHPUnit Is It Possible?

Tags: None
(comma "," separated)
User avatar
nshiell
Registered Member
Posts
18
Karma
0

KDevelop + PHPUnit Is It Possible?

Thu Sep 20, 2018 9:50 am
So as of yesterday I've switched over to Kdevelop for my PHP development work, I'm very impressed!
I see Kdevelop has a Unit Tests pane, I think it may be possible to hook in PHPUnit in to it, but I have no idea how to do this.
Do I need to do something clever with CMake or something similar?
pprkut
Registered Member
Posts
1
Karma
0
OS
Hi! I'm happy to hear you like the PHP integration in KDevelop :)

Unfortunately, it doesn't seem like the unit test integration is working very well right now. Especially for PHPUnit it hasn't been updated in a while and newer versions of PHPUnit won't work with it. It's on my TODO list to look into and fix up, but likely won't make it into the upcoming release (since that is pretty much already in feature freeze).
User avatar
nshiell
Registered Member
Posts
18
Karma
0
Hi! I'm happy to hear you like the PHP integration in KDevelop :)

I do - right now I'm using 5.2.1 with a WordPress + composer project and the go-to definition thing is working like a charm - so useful for writing PHPUnits with Pimple DI.

...of topic, but is there any way I could assist with PHP + Kdevelop? (I'm not that good with C++ though)


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]