Tzatziki test automation framework

Tzatziki test automation framework

Tzatziki test automation framework2024-06-19T11:58:43+02:00

Have you been tasked with implementing test automation across multiple systems? Are there already islands of automation, but different teams have different solutions, frameworks, and tools? Don’t worry, we’ve been in the same situation many times, and we have a strategy to handle it! With our experience and our lightweight framework Tzatziki, we bring everything together and bring order to reporting and execution.

Through our strategy of reuse, authentication, and test data management, we allow teams to focus on what they do best. The portal team, responsible for coding the end-user website, has full knowledge of the interface, and their regression tests can be easily adapted to fit into a longer flow that includes billing and delivery checks. The purchased billing system offers ample integration APIs, allowing us to write our own automation code there. The delivery system is outsourced and requires real addresses to function. In that case, we need to book test data before each test run. No problem!

What is Tzatziki?

Authentication

In workflows spanning multiple systems, managing numerous identities can quickly become complex. When expressing everything as code, there is a temptation to embed passwords directly in the code. However, this approach is incorrect. In Tzatziki, we use a password vault for this purpose. HashiCorp Vault provides an easy-to-operate and scalable solution for managing passwords and other shared secrets, making it equally convenient for use during test automation development and execution within CI/CD pipelines. In Tzatziki, we securely and seamlessly handle authentication against Vault to minimize disruptions.

Reuse

Teams developing test automation often have varying preferences when it comes to tool selection. Many times, the key to success lies in allowing teams to choose their own tools. However, a common trait of good tools is their support for CI/CD and their ability to run with different parameters in Jenkins Pipelines, GitHub Actions, Azure DevOps Pipelines, or similar platforms. With minor customizations and with the help of Tzatziki, these jobs can become steps in a longer flow, and the right teams with the right skills maintain the appropriate parts of the tests.

Test Data Management

In more complex flows in integrated environments, test data quickly becomes a bottleneck. Data often needs to be kept synchronized across multiple systems for the whole to function as intended, and the risk of encroaching on colleagues’ test data increases when tests are performed automatically. Tzatziki’s strategy is to maintain a simple internal database for test data where data can be booked from external systems, enriched before tests, reserved for various test cases, and then cleaned up and returned after use.

Execution

Java is a requirement, but beyond that, Tzatziki’s support isn’t reliant on the test execution engine. However, we’ve found Cucumber to be exceptionally expressive after decades of development. By choosing Cucumber not only for unit tests but also for requirements gathering, reporting, and handling longer, more complex test cases across multiple systems, we achieve a broader understanding among stakeholders within the company. Cucumber is well-supported in most popular programming languages and testing frameworks, which facilitates both execution and reporting. Tzatziki is well-suited to complement and streamline test automation with Cucumber for Java. Whether tests are run locally by developers or on the build server, the process remains straightforward. When tests are conducted at the behest of a testing organization rather than as part of an integrated build process, Tzatziki also helps avoid redundant test execution based on previous status, simplifying test suite scheduling.

Reporting

Jira, which has become the de facto industry standard, is a great tool for managing development teams, handling requirements and follow-ups, and compiling test reports with various add-ons. Choosing a test management add-on often comes down to personal preference. We are particularly fond of XRay for its balanced mix of flexibility and functionality. XRay naturally supports tests expressed in Cucumber format. With Tzatziki, it’s easy to report results to multiple test plans based on the tagging of test cases. When Jira’s dashboards aren’t sufficient, Tzatziki has support libraries for reporting directly to Confluence.

Lightweight

Tzatziki is intended to be the sauce that complements the work of test automation. Given that the team already understands the basic principles behind tools like Cucumber for Java and is comfortable with OpenAPI, Selenium, Playwright, and other frameworks, Tzatziki takes care of what’s missing. Tzatziki is not a framework that completely takes over and dictates how tests should be written and implemented, but rather allows the team to focus on what really matters: test automation.

What can Lemontree offer?

At Lemontree, we have worked with the principles behind Tzatziki for many years in various forms. We have experience in setting up and maintaining the infrastructure required. We know which strategies facilitate maintenance over time, and we are pragmatic problem solvers with competencies in both product development and testing. Tzatziki is a dynamic framework that continuously expands with support for new components as we encounter technologies that benefit many. Experience from one project benefits others. In addition to the framework code, we have a detailed strategy for modularizing the test code, dividing test cases for test data enrichment, and reusing them across multiple stages.

Expert utveckling och test

Johan Klintholm

Johan Klintholm är mjukvaruutvecklare, testautomatiseringsutvecklare, verktygsarkitekt och säkerhetsexpert med nära 30 års erfarenhet inom branschen och brinner för att hitta och bygga effektiva lösningar. Han brukar också föreläsa inom testautomatisering på olika branschevents.

Kontakta oss för konsultation eller frågor rörande Testkoncept

Har du frågor eller behöver hjälp med implementeringen av det nya finansiella regelverket från EU? Tveka inte att höra av dig till oss. Fyll i formuläret så återkommer vi till dig inom kort. Vi finns här för att hjälpa dig att ta nästa steg i din digitala utveckling.

Frequently Asked Questions about Tzatziki test automation framework

Here you will find answers to the most common questions we receive from our customers. We have gathered information and solutions on various topics and issues that may arise. Whether it concerns technical questions, product information, or general inquiries, we are here to assist you.

Can’t find an answer to your question?
We are concerned about the security of our test data, especially passwords and API keys. How does Tzatziki handle this?2024-06-19T11:48:26+02:00

Tzatziki integrates with HashiCorp Vault, a secure solution for managing sensitive information. This ensures that passwords and keys are stored securely and not exposed in the test code.

We have multiple teams using different tools and frameworks for test automation. Can Tzatziki help us achieve a more unified strategy?2024-06-19T11:49:15+02:00

Yes, Tzatziki is designed to operate in complex environments with multiple teams and technologies. It allows teams to use their preferred tools while providing a common platform for reporting and executing tests.

How can I learn more about Tzatziki and how it can benefit my organization?2024-06-19T11:50:06+02:00

Contact Lemontree for a consultation and demonstration of Tzatziki. We can help you evaluate if Tzatziki is the right solution for your needs and how it can be implemented in your organization.

What is Test Automation Center (TAC) and how can it help my organization?2024-06-19T11:51:18+02:00

Lemontree’s Test Automation Center (TAC) is a service that provides expertise and support for implementing and scaling up test automation with Tzatziki. TAC assists with everything from strategy and planning to development, execution, and maintenance of automated tests.

How can Tzatziki help my team get started with test automation?2024-06-19T11:52:34+02:00

Tzatziki offers a user-friendly solution designed to be easy to implement and integrate into existing workflows. Lemontree also provides expert assistance and guidance to help teams get started and maximize the benefits of Tzatziki.

What problems does Tzatziki solve?2024-06-19T11:53:28+02:00

Tzatziki solves several challenges that organizations often encounter in test automation, including:

  • Managing complex integrations between different systems and teams.
  • Handling test data and reusing test data effectively.
  • Secure management of passwords and sensitive information.
  • Generating understandable reports and visualizations of test results.
  • Scalability and adaptation to different technologies and tools.
  • Faster implementation, getting started without needing to make challenging design choices for your test automation framework.
What is Tzatziki?2024-06-19T11:54:26+02:00

Tzatziki is a lightweight test automation framework designed to handle complex system integrations and facilitate collaboration between different teams. It’s more than just a tool—it’s a concept that brings together the best practices and technologies to streamline the test automation process.