TheAssassin / libdesktopenvironments

A library that simplifies native UI engineering on the Linux desktop
MIT License
1 stars 0 forks source link

Functionality tests #2

Open TheAssassin opened 6 years ago

TheAssassin commented 6 years ago

I'd love to be able to run a unit test (or even just the demo application) on a set of distributions with all the supported DEs (there may be more than one distro per DE) to make sure everything works as intended.

@probonopd I know you know a few methods how to achieve this. Could you give a few pointers on how we could realise this? I guess starting VMs on e.g., Travis, is a bad idea, but I guess a majority of the desktop environments don't need to run in order to run the commands and check them against a predefined set of values.

probonopd commented 6 years ago

Actually a set of minimal Docker images with the main DEs on Travis could probably achieve this, together with a screenshotting functionality like we are using in AppImageHub.

TheAssassin commented 6 years ago

Well, screenshots aren't really necessary, as the library just fetches data like font names and returns them, there's no UI involved. However, as far as I know, there's not many Docker images containing a desktop environment, as it doesn't make sense to ship one in a server deployment tool.

I'll experiment with mounting ISOs I guess.