ABLUnit Runner: Making OpenEdge Testing More Flexible in VS Code

Software development workflows rarely stay the same. Teams change tools, developers work across different environments, and projects grow more complex. Yet one thing should remain simple: running tests and getting useful feedback without interrupting the development process. 

For OpenEdge developers moving from Progress Developer Studio to Visual Studio Code, this transition brings new opportunities, but it also raises practical questions. How easily can existing test suites be executed? What happens when only part of a suite needs to be tested? And how can developers work with different database environments without constantly changing project configuration? 

These questions shaped the latest improvements to ABLUnit Runner. 

Rather than focusing on adding more commands, the goal was to make everyday testing tasks more flexible, reduce unnecessary execution time, and allow developers to work with the environments and project structures they already have. 

 

 

Bringing ABLUnit Testing to Linux 

 

Not every OpenEdge developer works on Windows. As development environments become more diverse, testing tools need to support that reality. 

Linux support was introduced following a request from a user who needed to run ABLUnit tests in a Linux environment. It was a straightforward reminder that an extension should not limit developers to a particular operating system. 

With Linux support, ABLUnit Runner can be used across Windows and Linux environments, making it easier to integrate ABLUnit testing into different development setups. 

This is particularly relevant as more OpenEdge developers move from Progress Developer Studio to VS Code. The transition should not mean giving up the ability to run existing tests or having to find a completely different workflow just because the development environment has changed. 

 

 

When Rerunning Tests Becomes Part of the Problem 

 

Consider a familiar situation: you run a large test suite and five tests fail. 

What do you do next? 

Until now, the usual options were not particularly convenient. You could run the entire suite again, even though most tests had already passed, or select and rerun each failed test individually. 

Both approaches add unnecessary waiting time, especially when working with large test suites. 

ABLUnit Runner now includes Rerun Failed Tests, allowing all failed test cases to be executed together in a single OpenEdge batch session. Once execution finishes, the existing test results are updated with the new outcomes. 

Instead of repeating work that has already been completed, developers can focus directly on the tests that need attention. 

The same idea of keeping the workflow under control applies to running sessions themselves. Sometimes a test run takes longer than expected, or you simply realize that you started the wrong selection. In those situations, waiting for the entire execution to finish should not be the only option. 

ABLUnit Runner allows running sessions to be stopped or cancelled directly from the status bar or through VS Code’s native Testing Stop button. An additional session-management mechanism prevents overlapping executions, avoiding situations where multiple ABLUnit runs interfere with each other. 

 

 

Testing More Without Starting More Sessions 

 

Testing is not always about running one file or one test class. 

Sometimes you want to validate a complete folder. Other times, you need a specific combination of test files and folders. Having to launch separate test sessions for each selection makes this process unnecessarily fragmented. 

ABLUnit Runner now supports running tests from multiple .cls and .p files, entire folders, or mixed selections directly from the VS Code Explorer. 

You can select the items you want to test and execute them together in a single OpenEdge batch session. 

This makes it easier to work with larger projects and test related components together, without manually organizing separate executions or waiting for each session to finish before starting the next one. 

The intention is simple: let developers choose what they want to test, rather than forcing them to adapt their selections to the limitations of the runner. 

 

 

One Codebase, Different Databases, Different Configurations 

 

Another common requirement in OpenEdge development is testing the same code against different database environments. 

A project may need to be validated against multiple databases, each with its own connection settings or configuration. Changing these settings manually every time you switch environments quickly becomes repetitive and introduces the possibility of configuration mistakes. 

VS Code supports switching between OpenEdge profiles, making it possible to work with different configurations without maintaining separate project setups. 

ABLUnit Runner now supports custom OpenEdge profiles through .vscode/profile.json. These profiles can override project settings such as OpenEdge version, build paths, database connections, and additional parameters. They also support recursive inheritance, allowing one profile to extend another, with a fallback to the project’s default configuration when needed. 

For testing, this means developers can switch to the appropriate profile and run their tests without manually modifying the test project’s configuration each time. 

The same code can be tested against different databases simply by changing the active profile. The runner takes care of using the corresponding settings. 

 

 

Less Configuration, Fewer Interruptions, Better Feedback 

 

Each of these improvements addresses a different part of the testing workflow: supporting developers on Linux, reducing the time spent rerunning failed tests, managing active executions, running multiple selections together, and switching between database configurations. 

Individually, these may look like small additions. Together, they make ABLUnit Runner more adaptable to the way OpenEdge projects are developed and tested today. 

As more teams adopt VS Code, the testing experience should feel like a natural part of the development environment. Developers should be able to run the tests they need, in the environment they need, and get feedback without unnecessary steps in between. 

That is the direction behind these improvements: making ABLUnit testing less about managing executions and configuration, and more about getting useful feedback on the code. 

 


 

Author: Corina Man, Developer

Corina is one of those people every team relies on. She’s committed, dependable, and always ready to jump in and help a colleague no matter the challenge. Her positive energy and sense of fun make even the busiest days feel lighter, and she brings that same spirit into everything she does. Outside of work, Corina is a proud mom to two adorable girls and a passionate reader who’s rarely without a good book. Whether she’s supporting her team or getting lost in a story, she brings care, consistency, and a genuine love for what she does.

SEE HOW WE WORK.

FOLLOW US