How To Make A Continuous Testing Pipeline With GitHub Actions

cerberus-testing-how-to-make-a-continuous-testing-pipeline-with-github-actions-featured

“Can you deploy tests in CI/CD, in one hour?”

Following the rhythm of software teams to deliver valuable test automation is a daily  challenge.

It’s like everything must be done instantly.

Faced with the constraint of time and resources, there is no time to reinvent the wheel: off-the-shelf CI/CD connectors are the way to go.

This article shares how you can implement a continuous testing pipeline using the native GitHub Action of Cerberus Testing.

Follow Cerberus Testing for more open-source test automation.

GitHub Actions To Accelerate Test Automation

First things first, let’s understand what GitHub actions are.

GitHub provides its CI/CD platform as a composition of GitHub Actions that perform individual tasks, part of a workflow.

Each action can perform a task like building the application, launching a command, or calling an API based on schedule or events.

Figure 1: The key components of GitHub Actions, GitHub.

That’s where it becomes interesting for test automation.

A Github Action can host the logic to trigger automated tests, check for the results and provide the status back to the deployment pipeline.

Such a reusable connector is now available to launch tests using Cerberus Testing, the 100% open-source test automation platform.

The Cerberus Testing GitHub Action

Cerberus Testing lets you execute web, mobile, APIs, database and desktop testing in an all-in-one test automation solution.

The tests can be executed together in the concept of a campaign, equivalent to the one of a test suite defining the scope and environments of the tests.

GitHub becomes the master of the test execution launch when launching tests as part of a continuous testing pipeline; it needs for that to reach Cerberus.

The integration between GitHub Actions and Cerberus Testing requires knowing the:

  • Cerberus Testing instance
  • Cerberus Testing campaign
  • Cerberus Testing API key.

These parameters are used in the configuration of GitHub actions you can embed in CI/CD, achieving your continuous testing pipeline.

Let’s see how to use the connector.

Using Cerberus Testing GitHub Action

The GitHub Action for Cerberus Testing is available on the marketplace, easing your deployment.

The minimal configuration is described here:

Figure 2: The usage of Cerberus Testing GitHub Action, Cerberus Testing.

You can implement an automated test action following these steps:

  1. Login to Cerberus Testing (or get one here)
  2. Get the campaign (details below)
  3. Get the API key (details below)
  4. Configure the GitHub Action
  5. Execution your pipeline

Get the campaign

You can confirm or define a campaign in the menu “Run > Campaign” of Cerberus Testing.

Make sure to configure the scope of test cases and environments under test.

Figure 3: The test automation campaign part of Cerberus Testing features.

Get the API key

Retrieve your API key in the menu “Administration > Parameters”, searching for the parameter “cerberus_apikey_value1”.

Figure 4: Cerberus Testing provides APIs to ease open-source integration.

You can now deploy at any stage the Cerberus Testing GitHub Action part of your development and deployment workflow:

Figure 5: The Cerberus Testing GitHub Action job example, GitHub.

Continuous Testing, an accelerator for your team

Test automation is already complex in itself, less valuable tasks should be removed or simplified as possible.

You can deploy automated tests in CI/CD under an hour following this guide, making a difference for your team.

Leveraging a ready-to-use solution, you can accelerate your team’s iteration, for the good of your users and the business.

Cerberus Testing provides additional features as part of the platform such as execution notifications, native reporting, debug, tickets opening, or monitoring.

We would be happy to help you discover the platform, feel free to contact us.

And if you like this integration, leave a star here 😉

Leave a comment

Your email address will not be published. Required fields are marked *

Cerberus-Testing Terms Of Service


Website Terms and Conditions of Use

1. Terms

By accessing this Website, accessible from http://vgeouyk.cluster030.hosting.ovh.net, you are agreeing to be bound by these Website Terms and Conditions of Use and agree that you are responsible for the agreement with any applicable local laws. If you disagree with any of these terms, you are prohibited from accessing this site. The materials contained in this Website are protected by copyright and trade mark law. These Terms of Service has been created with the help of the Terms of Service Generator and the Privacy Policy Template.

2. Use License

Permission is granted to temporarily download one copy of the materials on Cerberus Testing's Website for personal, non-commercial transitory viewing only. This is the grant of a license, not a transfer of title, and under this license you may not:

  • modify or copy the materials;
  • use the materials for any commercial purpose or for any public display;
  • attempt to reverse engineer any software contained on Cerberus Testing's Website;
  • remove any copyright or other proprietary notations from the materials; or
  • transferring the materials to another person or "mirror" the materials on any other server.

This will let Cerberus Testing to terminate upon violations of any of these restrictions. Upon termination, your viewing right will also be terminated and you should destroy any downloaded materials in your possession whether it is printed or electronic format.

3. Disclaimer

All the materials on Cerberus Testing’s Website are provided "as is". Cerberus Testing makes no warranties, may it be expressed or implied, therefore negates all other warranties. Furthermore, Cerberus Testing does not make any representations concerning the accuracy or reliability of the use of the materials on its Website or otherwise relating to such materials or any sites linked to this Website.

4. Limitations

Cerberus Testing or its suppliers will not be hold accountable for any damages that will arise with the use or inability to use the materials on Cerberus Testing’s Website, even if Cerberus Testing or an authorize representative of this Website has been notified, orally or written, of the possibility of such damage. Some jurisdiction does not allow limitations on implied warranties or limitations of liability for incidental damages, these limitations may not apply to you.

5. Revisions and Errata

The materials appearing on Cerberus Testing’s Website may include technical, typographical, or photographic errors. Cerberus Testing will not promise that any of the materials in this Website are accurate, complete, or current. Cerberus Testing may change the materials contained on its Website at any time without notice. Cerberus Testing does not make any commitment to update the materials.

6. Links

Cerberus Testing has not reviewed all of the sites linked to its Website and is not responsible for the contents of any such linked site. The presence of any link does not imply endorsement by Cerberus Testing of the site. The use of any linked website is at the user’s own risk.

7. Site Terms of Use Modifications

Cerberus Testing may revise these Terms of Use for its Website at any time without prior notice. By using this Website, you are agreeing to be bound by the current version of these Terms and Conditions of Use.

8. Your Privacy

Please read our Privacy Policy.

9. Governing Law

Any claim related to Cerberus Testing's Website shall be governed by the laws of fr without regards to its conflict of law provisions.

Thank you for your interest in cerberus,

In order to proceed with your SaaS we need some in order to confirm your instances accesses.

Please provide accurate contacts to secure the process.

You can cancel any time the subscription, please read Terms of Use.