New tutorial available: Adding automated tests to your app

Hello dear Nextclouders,
We published another tutorial, about how to add tests to your app.

In this tutorial you will learn how to set up automated tests on your app using GitHub actions. GitHub actions is a great tool for app developers, because with this tool app developers don’t have to deploy a test environment for all the different Nextcloud, Php and database system versions. It is also convenient to have tests being triggered automatically so they are running for each pull request, for example. In this tutorial you will learn:

  • How to use GitHub actions to set up a specific Nextcloud test environment
  • How to configure which tests to run
  • How to implement tests
  • How to see if the tests ran successfully

Required pre-knowledge:

For this tutorial we we will be using the app created in the previous tutorial, “Developing a complete app with a navigation bar and database”.

You can find the tutorial here:

You can find all the previous tutorials here:

2 Likes