JUnit has been around for a long time, and many applications will have a large number of JUnit tests written using JUnit 4. JUnit 5 was released in 2017, and provides a lot of features that weren't in the previous version. Let's look at how to migrate existing JUnit 4 tests to JUnit 5.
This screencast covers:
- Updating the project's dependencies to run existing JUnit 4 classes on the JUnit 5 platform (via Maven);
- Migrating an individual test from JUnit 4 to JUnit 5 using IntelliJ IDEA's inspections
- Migrating all a project's test using IntelliJ IDEA's migration tool;
- Creating a Find in Path query to identify places that use JUnit 4 features that need to be manually migrated.
Download IntelliJ IDEA: https://jb.gg/download-intellij-idea
Top 15 IntelliJ IDEA shortcuts: • Top 15 IntelliJ IDEA shortcuts
*Author: Trisha Gee
Join us:
Website https://jb.gg/website
Blog https://jb.gg/blog
Twitter / intellijidea
Facebook / intellijidea
#getting_to_know_intellij #intelliJIDEA #intelliJ #JetBrains #Java #Programming
Смотрите видео IntelliJ IDEA. Migrating from JUnit 4 to JUnit 5 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь IntelliJ IDEA, a JetBrains IDE 24 Июнь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 24,358 раз и оно понравилось 376 людям.