Delphi And Electron Testing Support Measured in Benchmarking Study

Do Delphi and Election offer testing support? Do they ship with testing libraries, or use external testing libraries? The Delphi and Electron Benchmarking study takes a look at the testing support offered by the two software development frameworks.

The “Discovering The Best Cross-Platform Framework Through Benchmarking” whitepaper evaluates two frameworks supporting multi-platform desktop application development: Delphi and Electron.

Delphi

Delphi, encapsulated in the Rapid Application Development (RAD) Studio IDE, is Embarcadero Technologies’ flagship product. A proprietary version of the Object Pascal language, Delphi features graphical application development with “drag and drop” components, a WYSIWYG viewer for most mobile platforms, and robust style options including platform-standard and unique palettes that provide a fully customized look and feel. Among other features, included libraries provide GUI controls, database access managers, and direct access target platform hardware and platform operating systems. The Delphi FireMonkey (FMX) framework will compile projects to native code for 32-bit and 64-bit Windows, macOS, Android, iOS, and Linux, allowing users to develop and maintain one codebase reaching most of the market. Delphi has been available for over 25 years.

Electron

Electron is an open-source (MIT License), Chromium-based framework that utilizes web technologies to build desktop applications on Windows, macOS, and Linux. It is developed and maintained by GitHub, a subsidiary of Microsoft. Electron combines the Chromium-based rendering engine with a Node.js server environment. As such, the user interface for an Electron application is available via HTML5 and CSS. Generally, Electron works with most Javascript frameworks such as Angular, Vue.js, and React. The HTML5, CSS, and Javascript-based technologies found in Chromium provide a rich ecosystem of user customization familiar to any web developer. Despite its relatively young age of five years, its community boasts open source packages for database access, operating system interactions, and other common tasks.

26 Benchmarking Metrics

This is the ninth in a 26-part series of blog posts looking more closely at each of the individual metrics used in the study, and how Delphi and Electron each fared on these metrics. The first can be found here.

Download the complete whitepaper here

delphi-electron-cover

Benchmark Category: Functionality

Functionality Framework functionality was examined qualitatively through research on the business aspects of each framework ranging from initial investment through long-term maintenance of the products created. Business functionality refers to a framework’s business suitability and impact on long-term plans. Excellent functionality allows companies to easily build custom tools or extensions, develop on a platform of their choosing, protect their source code from exploitation, and have confidence that their applications will be maintainable for decades.

Benchmark Metric 10/26: Testing Support

Testing Support: Does the framework ship with a testing suite, test coverage analysis, and runtime monitoring capability?

Benchmarking Results

Delphi Score: 4 (out of 5)

Delphi ships with the DUnitX unit testing package but lacks a native integration testing system. Numerous 3rd party unit and integration testing tools are available but may not be free.

Electron Score: 4 (out of 5)

Electron does not install with a native unit or integration testing package. Open-source projects and libraries are available for both functions.

Download the complete whitepaper here


RAD Studio What's New