Newly-Introduced JUnit 5 Annotations and Classes. The @Disabled annotation

2. The @Disabled annotation

  1. The code provides two tests, both of them disabled.
  2. One of the tests is disabled without a given reason (1).
  3. The other test is disabled with a reason that may be quickly understood (2) — the recommended way to work.

--

--

--

https://www.luxoft-training.com/

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

CORS in-depth…

Internet Security

🎮 Seiren War Beta Version Introduces New Character 🎮

The Art of Maintaining a Backlog

Cheapskate’s Journey to On-Demand Load Tests with Locust

Automating boring stuffs in easy steps with Python and Robot Framework

Build Automation for Absolute Beginners (Part 1)

What is a garbage collection and how is it implemented?

Creating a IAM User, Creating a User Group,Assigning a Permission to a User, and Setting Up MFA.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Luxoft Training

Luxoft Training

https://www.luxoft-training.com/

More from Medium

Numbering System edge cases of Java

KivaKit — Logging Isn’t Special

Chain Of Responsibility pattern for loose coupling in java programming

Reentrant lock in Java.