Skip to content

A resource for testing qgis plugins within QGIS and using Travis CI

License

Notifications You must be signed in to change notification settings

pernlofgren/qgis-plugin-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Testing QGIS Plugins

LICENSE

This repo has been set up as a resource for automated testing of QGIS plugins.

Unittest

Local Testing

Test script can be run from your QGIS Python Consule, by calling run_tests()

Travis Continuous Integration

Thanks to Boundless QGIS Testing Environment, testing inside a real QGIS session via a docker container is now possible!

The .travis.yml file in this repo customizes the steps for the testing environment and tells Travis what to do. All the steps are well documented in the Travis CI documentation, and all thats needed to trigger a new build is to add .travis.yml, commit and push to the remote repo. In this example, builds only get triggered on commits on master branch.

Resources

Other Resource Repositories

Things to note

  • The .travis.yml file is read from the root of the repository
  • Travis only runs builds on the commits you push after you’ve enabled the repository in Travis CI.

About

A resource for testing qgis plugins within QGIS and using Travis CI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages