Summary of IntelliJ IDEA Conf 2022
We hosted the second edition of ‘IntelliJ IDEA Conf’, a free and virtual conference on the 29-30th of September, 2022, on IntelliJ IDEA’s YouTube Channel. Our intention with this event was to celebrate the developer community and its desire to learn and improve everyday. I hope we succeeded in this endeavor by hosting sessions by industry leaders and experts on a variety of topics, like Core Java, Kotlin, Spring, Kubernetes, JUnit, JavaFX, and contributing to open source projects. We also hosted sessions on using JetBrains IDEs to address the challenges of remote development, and lear
IntelliJ IDEA Conf – Celebrating the developer community
Our intention with IntelliJ IDEA Conf is to celebrate the developer community and its desire to learn and improve everyday. We invite you to join us for this free online conference and learn from industry leaders and experts on September 29–30, 2022. Learn about a variety of topics, like Core Java, Kotlin, Spring, Kubernetes, JUnit, mobile development, and hear stories about contributing to open source projects. You'll also discover how to use JetBrains IDEs to address the challenges of remote development, and learn about our brand new IDE – Fleet. Conference Details and Registration (more
Writing Tests with JUnit 5
In this tutorial we're going to look at features of JUnit 5 that can make it easier for us to write effective and readable automated tests. All code in this tutorial can be found in this GitHub repository. This blog post covers the same material as the video. This provides an easy way for people to skim the content quickly if they prefer reading to watching, and to give the reader/watcher code samples and links to additional information. (more…)
Migrating from JUnit 4 to JUnit 5
This post will help you take your project from previous versions of JUnit to JUnit5. IntelliJ IDEA has a number of tools to help facilitate the migration which you can perform in a series of steps that we talk about here. This blog post covers the same material as the video. This provides an easy way for people to skim the content quickly if they prefer reading to watching, and to give the reader/watcher code samples and links to additional information. Please note that JUnit 5 requires Java 8 (or higher) at runtime. Migrating One Test to JUnit 5 JUnit has been around for a long time. Many ap
Support for JUnit 5 M4 in IntelliJ IDEA 2017.2
IntelliJ IDEA provides support for the upcoming JUnit 5 release. JUnit has pretty much been the standard for Java unit testing for years, and the latest version brings the library right up to date, making use of Java 8 features and bringing in ways of testing that are familiar if you've been using other frameworks like Spock. IntelliJ IDEA 2017.2 adds support for some of these features, to make the experience of testing code as painless and quick as possible. JUnit 5 supports parameterized tests. These tests let you use the same basic structure of a test with a number of different inputs.
IntelliJ IDEA 2017.1.2 Update is Available
The just-out IntelliJ IDEA 2017.1.2 update brings important bugfixes and overall improvements. Among notable changes: JUnit 5 M4 support (incl. running parametrized tests) Support for the new Typescript 2.3 language features (e.g. for await) An important fix for the freeze while editing Gradle build files For the complete list of changes, see the release notes. Get it via Help | Check for Updates | Download and install, or let the Toolbox App do it for you! UPDATE: If you download Windows ".zip" bundle, Kaspersky and some other antiviruses may flag "jre32\bin\unpack200.exe"
IntelliJ IDEA 2016.3.1 RC Updates JUnit 5 Support to M3
Great news! A fresh update for IntelliJ IDEA 2016.3 is coming soon. Today we've published its RC build. In addition to bugfixes, this build updates JUnit 5 support to M3. Note that if you plan to run JUnit 5 M2, you have to either use an earlier version of IntelliJ IDEA, or manually include JUnit 5 M2 dependencies in your classpath (junit-platform-launcher, junit-platform-commons, junit-platform-engine; junit-jupiter-api and junit-jupiter-engine for Jupiter; and junit-vintage-engine for Vintage). As always, your feedback is very welcome in our issue tracker. Develop with Pleasure!
Using JUnit 5 in IntelliJ IDEA
One of the new features in IntelliJ IDEA 2016.2 is support for the new JUnit 5 testing framework. Almost all Java developers will have used JUnit at some point, so it's pretty exciting to find the newest version has evolved with the times and provides a number of new features, some of which may be familiar to those who have used other frameworks. IntelliJ IDEA supports the ability to actually run tests written for JUnit 5 - there's no need to use the additional libraries (like the Gradle or Maven plugins for example), all you need is to include the JUnit 5 dependency. Here we're using Grad
Java Annotated Monthly – July 2014
Today’s Java landscape is growing larger and faster than ever, with over 30,000 new Java projects created on GitHub each month. Here on the Java Annotated Monthly we leave no stone unturned to bring you the most important news and developments around the world. All the news, fit to println(“Develop with pleasure!”); Java Project Valhalla - Project Valhalla is an exploratory group headed by Java Language Architect and lambda designer Brian Goetz. Valhalla seeks to introduce a number of language features in Java 10 and beyond, from value types, to enhanced volatil
New Coverage View in IntelliJ IDEA 11.1
IntelliJ IDEA 11.1 introduces a new way of browsing the gathered coverage information through a dedicated Coverage View. This view aggregates the coverage details over a configured scope in one place. It provides ability to sort data by coverage percentage, what can be used for detection of code which is not enough covered by tests. As always quick navigation, scroll from/to source, flatten packages mode are available in Coverage View for an easy work with the results. It also allows generating HTML report right from the view. Please note, that the view is also available for Python, Ruby a
Testing Tip: Run Test Method from Abstract Test Class
Sometimes you have an abstract test class with test methods where the inheritors set up different environment. As it is impossible to run an abstract class you had to enumerate inheritors manually, choose corresponding methods and run these methods one by one. Now (since IntelliJ IDEA 11.1) it is possible to run tests right from the abstract base class and simply choose inheritors from the popup. This works for JUnit and for TestNG tests.