Skip to content

Commit fd229fe

Browse files
Merge pull request #10873 from mendix/kk-test-improve-landing-pg
Improve test landing page
2 parents 15a74b4 + b942a6b commit fd229fe

8 files changed

Lines changed: 166 additions & 36 deletions

File tree

content/en/docs/howto/testing/_index.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

content/en/docs/howto10/testing/_index.md

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
---
2+
title: "Testing"
3+
url: /refguide/testing/
4+
weight: 100
5+
description: "Describes the available options for testing your Mendix application."
6+
no_list: false
7+
description_list: true
8+
aliases:
9+
- /howto/testing/
10+
---
11+
12+
## Introduction
13+
14+
Testing is a vital component when creating a Mendix application. Finding and fixing bugs when your application is in production is more expensive and time-consuming than before a release. Solving issues in the early stages of development ensures a more stable product and better user experience.
15+
16+
## Testing Pyramid
17+
18+
The testing pyramid is a convenient way to categorize tests according to their type, cost, speed, and scope.
19+
20+
{{< figure src="/attachments/howto/testing/testing-pyramid.png" class="no-border" >}}
21+
22+
Tests at the bottom of the pyramid are generally cheaper and faster to run, giving you quicker feedback. As you move up, the scope of the tests increases, but so does their complexity and execution time.
23+
24+
By catching most issues at the lower levels, you reduce the number of expensive, time-consuming UI and E2E tests you need to run, making your testing strategy more efficient. The testing pyramid provides a balanced approach, ensuring comprehensive coverage without over-investing in the most expensive types of tests.
25+
26+
## Mendix Offerings per Test Type
27+
28+
Mendix and its partners offer several solutions for each type of test covered by the testing pyramid.
29+
30+
### Static Code Analysis
31+
32+
Static code analysis is the foundation of the testing pyramid. It is necessary in order to catch any issues early, before the code runs in production. It is the cheapest and fastest feedback available, simple to add into existing projects.
33+
34+
You can use the following offerings to help with this test type:
35+
36+
* [Best Practice Recommender](/refguide/best-practice-recommender/) - Performs basic checks for anti-patterns.
37+
* [Quality and Security Management (QSM)](/appstore/partner-solutions/qsm/) - Performs a static analysis of Mendix application models according the ISO 25010 standard for maintainability. This solution is developed by Mendix and the Software Improvement Group (SIG).
38+
39+
### Unit Tests
40+
41+
For microflows or Java actions that can be isolated, you can perform unit tests. These are fast, reliable, and pinpoint issues in the smallest units of code. A good coverage of unit tests helps you pinpoint where issues occur specifically, often making it much simpler to fix bugs than when they surface in higher-level tests. This type of test is more efficient if good coding practices to isolate individual pieces were used from the start.
42+
43+
You can use the following offerings to help with this test type:
44+
45+
* [Unit Testing](/appstore/modules/unit-testing/) - Enables developers to implement, run, and manage unit tests within the Mendix application that is being tested.
46+
* [Menditect Test Automation](/appstore/partner-solutions/mta/) - Offers a no-code, visual suite of automated regression testing tools. This solution is developed by Menditect.
47+
48+
### Integration and API Tests
49+
50+
Integration and API testing tests the interaction between different microflows, modules, or external systems (for example, calling a REST service from a microflow). These tests ensure that different parts of your Mendix app work together correctly. API tests specifically test the exposed APIs of your Mendix application or the APIs it consumes. This is crucial for headless integrations, or for having your Mendix app act as a service provider.
51+
52+
You can use the following offerings to help with this test type:
53+
54+
* [Menditect Test Automation](/appstore/partner-solutions/mta/) - Offers a no-code, visual suite of automated regression testing tools. This solution is developed by Menditect.
55+
56+
### UI Tests
57+
58+
UI tests are automated tests that interact with the Mendix user interface, simulating user actions. They are slower in execution than other test types, and tied very closely to the page design. This type of test is relatively difficult to build and maintain.
59+
60+
You can use the following offerings to help with this test type:
61+
62+
* [Menditect Test Automation](/appstore/partner-solutions/mta/) - Offers a no-code, visual suite of automated regression testing tools. This solution is developed by Menditect.
63+
64+
### Cross-Cutting Concerns: Security and Performance Tests
65+
66+
Security and performance tests are cross-cutting, that is, they are not distinct layers in the same way as the others, but rather types of testing that can be applied at various levels or as dedicated efforts. They are commonly executed later in the development process.
67+
68+
### Security Tests
69+
70+
Security tests can involve static analysis for vulnerabilities, API security testing, and penetration testing (often E2E).
71+
72+
You can use the following offerings to help with this test type:
73+
74+
* [Quality and Security Management (QSM)](/appstore/partner-solutions/qsm/) - Performs a static analysis of Mendix application models according the ISO 25010 standard for maintainability. This solution is developed by Mendix and the Software Improvement Group (SIG).
75+
* Vulnerability analysis by Mendix
76+
77+
### Performance Tests
78+
79+
Performance testing involves unit-level performance checks for critical microflows, integration-level load testing for APIs, and E2E load/stress testing for the entire application.
80+
81+
You can use the following offerings to help with this test type:
82+
83+
* [Tracing](/refguide/tracing-in-runtime/) - Generates traces that help you analyze errors and performance, which can be sent to observability tools like [Jaeger](https://www.jaegertracing.io/) or [Datadog](https://www.datadoghq.com/).

content/en/docs/howto/testing/testing-mendix-applications-using-selenium-ide.md renamed to content/en/docs/refguide/testing/testing-mendix-applications-using-selenium-ide.md

File renamed without changes.
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
---
2+
title: "Testing"
3+
url: /refguide10/testing/
4+
weight: 100
5+
description: "Describes the available options for testing your Mendix application."
6+
no_list: false
7+
description_list: true
8+
aliases:
9+
- /howto10/testing/
10+
---
11+
12+
## Introduction
13+
14+
Testing is a vital component when creating a Mendix application. Finding and fixing bugs when your application is in production is more expensive and time-consuming than before a release. Solving issues in the early stages of development ensures a more stable product and better user experience.
15+
16+
## Testing Pyramid
17+
18+
The testing pyramid is a convenient way to categorize tests according to their type, cost, speed, and scope.
19+
20+
{{< figure src="/attachments/howto10/testing/testing-pyramid.png" class="no-border" >}}
21+
22+
Tests at the bottom of the pyramid are generally cheaper and faster to run, giving you quicker feedback. As you move up, the scope of the tests increases, but so does their complexity and execution time.
23+
24+
By catching most issues at the lower levels, you reduce the number of expensive, time-consuming UI and E2E tests you need to run, making your testing strategy more efficient. The testing pyramid provides a balanced approach, ensuring comprehensive coverage without over-investing in the most expensive types of tests.
25+
26+
## Mendix Offerings per Test Type
27+
28+
Mendix and its partners offer several solutions for each type of test covered by the testing pyramid.
29+
30+
### Static Code Analysis
31+
32+
Static code analysis is the foundation of the testing pyramid. It is necessary in order to catch any issues early, before the code runs in production. It is the cheapest and fastest feedback available, simple to add into existing projects.
33+
34+
You can use the following offerings to help with this test type:
35+
36+
* [Best Practice Recommender](/refguide/best-practice-recommender/) - Performs basic checks for anti-patterns.
37+
* [Quality and Security Management (QSM)](/appstore/partner-solutions/qsm/) - Performs a static analysis of Mendix application models according the ISO 25010 standard for maintainability. This solution is developed by Mendix and the Software Improvement Group (SIG).
38+
39+
### Unit Tests
40+
41+
For microflows or Java actions that can be isolated, you can perform unit tests. These are fast, reliable, and pinpoint issues in the smallest units of code. A good coverage of unit tests helps you pinpoint where issues occur specifically, often making it much simpler to fix bugs than when they surface in higher-level tests. This type of test is more efficient if good coding practices to isolate individual pieces were used from the start.
42+
43+
You can use the following offerings to help with this test type:
44+
45+
* [Unit Testing](/appstore/modules/unit-testing/) - Enables developers to implement, run, and manage unit tests within the Mendix application that is being tested.
46+
* [Menditect Test Automation](/appstore/partner-solutions/mta/) - Offers a no-code, visual suite of automated regression testing tools. This solution is developed by Menditect.
47+
48+
### Integration and API Tests
49+
50+
Integration and API testing tests the interaction between different microflows, modules, or external systems (for example, calling a REST service from a microflow). These tests ensure that different parts of your Mendix app work together correctly. API tests specifically test the exposed APIs of your Mendix application or the APIs it consumes. This is crucial for headless integrations, or for having your Mendix app act as a service provider.
51+
52+
You can use the following offerings to help with this test type:
53+
54+
* [Menditect Test Automation](/appstore/partner-solutions/mta/) - Offers a no-code, visual suite of automated regression testing tools. This solution is developed by Menditect.
55+
56+
### UI Tests
57+
58+
UI tests are automated tests that interact with the Mendix user interface, simulating user actions. They are slower in execution than other test types, and tied very closely to the page design. This type of test is relatively difficult to build and maintain.
59+
60+
You can use the following offerings to help with this test type:
61+
62+
* [Menditect Test Automation](/appstore/partner-solutions/mta/) - Offers a no-code, visual suite of automated regression testing tools. This solution is developed by Menditect.
63+
64+
### Cross-Cutting Concerns: Security and Performance Tests
65+
66+
Security and performance tests are cross-cutting, that is, they are not distinct layers in the same way as the others, but rather types of testing that can be applied at various levels or as dedicated efforts. They are commonly executed later in the development process.
67+
68+
### Security Tests
69+
70+
Security tests can involve static analysis for vulnerabilities, API security testing, and penetration testing (often E2E).
71+
72+
You can use the following offerings to help with this test type:
73+
74+
* [Quality and Security Management (QSM)](/appstore/partner-solutions/qsm/) - Performs a static analysis of Mendix application models according the ISO 25010 standard for maintainability. This solution is developed by Mendix and the Software Improvement Group (SIG).
75+
* Vulnerability analysis by Mendix
76+
77+
### Performance Tests
78+
79+
Performance testing involves unit-level performance checks for critical microflows, integration-level load testing for APIs, and E2E load/stress testing for the entire application.
80+
81+
You can use the following offerings to help with this test type:
82+
83+
* [Tracing](/refguide/tracing-in-runtime/) - Generates traces that help you analyze errors and performance, which can be sent to observability tools like [Jaeger](https://www.jaegertracing.io/) or [Datadog](https://www.datadoghq.com/).

content/en/docs/howto10/testing/testing-mendix-applications-using-selenium-ide.md renamed to content/en/docs/refguide10/testing/testing-mendix-applications-using-selenium-ide.md

File renamed without changes.
43.1 KB
Loading
43.1 KB
Loading

0 commit comments

Comments
 (0)