Releasing high-quality Mendix apps: Introducing the Menditect Testability Framework - Mendix Forum

Releasing high-quality Mendix apps: Introducing the Menditect Testability Framework

0

The Menditect Testability Framework provides a structured and comprehensive architectural approach specifically designed for Mendix developers aiming to achieve high maintainability and structural quality through enhanced testability of microflows. While the rapid development speed of low-code platforms is a major advantage, without disciplined architectural practices, Mendix applications can quickly become difficult to maintain and adapt, transforming into what is often called an unmanageable "software dragon". The Menditect Testability Framework (MTF) is designed for Mendix developers & testers building complex, business-critical apps that require a long life cycle and many releases.

 

By adopting a "design for test" (DFT) approach, MTF seeks to reduce reliance on costly, fragile, and maintenance-intensive end-to-end testing, prioritizing an efficient testing pyramid strategy. It is published as open source under the Creative Commons Attribution 4.0 International License (CC BY 4.0) and can be freely adapted and used in your projects.

 

Key benefits of applying the Menditect Testabilty Framework

While it might take some time to learn how to apply the concepts of MTF, there are three clear benefits for Mendix teams that apply it:

 

 

These benefits will keep the release speed of your app high and allow you to focus on new features instead of spending your time on debugging and fixing complex Mendix apps.

 

Core Concepts of the Menditect Testability Framework

MTF is built on fundamental architectural principles, offering practical patterns for implementation in three key areas: microflow typologies, testable app architecture, and data quality.

 

1. Architectural Foundation: SoC and DI

MTF relies on two core architectural principles that are essential for testable design: Separation of Concerns (SoC) and Dependency Injection (DI).

 

 

2. Standardizing Logic: Microflow Typologies

To enforce architectural structure and link logic directly to the testing pyramid, the framework introduces microflow typologies. These typologies define the purpose, pattern, and naming convention (using a three-capital-letter prefix like ACT_, ORC_, or OPR_) for every microflow.

 

 

3. Ensuring Data Quality: Implementing Atomicity and Consistency

While the Mendix platform manages Isolation (I) and Durability (D) within the ACID transaction concept, developers must explicitly implement the patterns for Atomicity (A) and Consistency (C).

 

 

Take the Next Step

Adopting the Menditect Testability Framework may require changing your current way of building and testing Mendix apps, but the resulting structural quality, maintainability and testability will save significant time and money in the long run.

We invite you to dive deeper into the documentation to master the concepts mentioned in this article:

 

 

Updates & Feedback

Menditect will publish regular updates and add new content to the testability framework. Subscribe to our newsletter to get the latest info. If you have any feedback regarding the framework. Please let us know via our feedback form

Posted
0 comments