I am interested in developing patches for some kwin bugs (especially https://bugs.kde.org/show_bug.cgi?id=518585).
How do I locally test my patches without breaking my system (just in case something goes slightly wrong, I may end up with no GUI). What procedure do KDE developers use?