News

VS Code Adds JUnit 5 Testing Support, More Java Functionality

Visual Studio Code developers have asked for support for more test frameworks and Microsoft said it has responded in kind, announcing initial support for JUnit 5 this week.

The VS Code team previously added support for JUnit 4 to its Java Test Runner extension

Program Manager Xiaokai He said developers then suggested the code editor support other test frameworks, like JUnit 5 and TestNG, and the team has answered by adding functionality for running and debugging test cases and generating test reports for the former.

The Java Test Runner extension, still in preview, has been installed 482,254 times as of this writing, earning a perfect 5.0 rating from four developers. It works with Language Support for Java by Red Hat and Debugger for Java to help run and debug Java test cases.

He also announced other new features for programming Java in VS Code, including expression evaluation-based breakpoints. "After introducing expression evaluation in our January release for the Java debugger extension, we are bringing the functionality to conditional breakpoints," he said. "Now, you can set your breakpoint to break when an expression evaluates to true. We believe this could be a very useful feature when debugging your Java application using Visual Studio Code."

Also announced were several other tweaks to Java Test Runner and other Java-related extensions, including Tomcat and Maven. You can read more about those in this post.

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus

Featured

  • Full Stack Hands-On Development with .NET

    In the fast-paced realm of modern software development, proficiency across a full stack of technologies is not just beneficial, it's essential. Microsoft has an entire stack of open source development components in its .NET platform (formerly known as .NET Core) that can be used to build an end-to-end set of applications.

  • .NET-Centric Uno Platform Debuts 'Single Project' for 9 Targets

    "We've reduced the complexity of project files and eliminated the need for explicit NuGet package references, separate project libraries, or 'shared' projects."

  • Creating Reactive Applications in .NET

    In modern applications, data is being retrieved in asynchronous, real-time streams, as traditional pull requests where the clients asks for data from the server are becoming a thing of the past.

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

Subscribe on YouTube