Finally released my second #sailfishos applications: Peertube Sail, a client for #peertubehttps://openrepos.net/content/amol/peertube-sail
This one has also been an excuse to try to develop a solution to have a lightweight CI that can run tests without the sailfishos SDK. So it uses #dukpy #python #javascript interpreter to test the logic with #pytest and a fake #silica implementation with qmltestrunner to run the UI tests.
My plan is to release the fake silica as its own project once it's refined enough
#pytest
2 posts · Last used Aug 31
Did you know that you can use #PyTest 's plugin manager instance to check whether a particular plugin was loaded? You might have known that.
And did you know that pytest plugins have no "canonical" name, and every plugin's name is literally whatever was passed while it was registered? So if a plugin was autoloaded, it's its entry point name. If it was loaded via -p or PYTEST_PLUGINS, it's whatever the argument was (i.e. entry point name in the first case, object reference in the second one). And if it was loaded via an explicit call to plugin loader, then it was whatever you passed to the plugin loader.
You've seen all posts