Add test cases for current functionality in order to make the project maintainable and allow easier code refactoring. An additional benefit is faster feedback during development, because the code does not have to be run in a real Gnome Shell environment.
Introduce BDD to the development process
Add test cases for current functionality in order to make the project maintainable and allow easier code refactoring. An additional benefit is faster feedback during development, because the code does not have to be run in a real Gnome Shell environment.
Preferred tool for that is Jasmine with GJS support.