title: Conditionally skip a Junit 5 test
body: <p>In my Junit Jupiter API 5.5 test, I am calling my method which internally makes a HTTP call to a remote service.
  Now the remote service can be down or behave incorrectly. I want to skip my test in case the remote service is not behaving expectedly.</p>
  
  <pre><code>@Test
  void testMe() {
    // do something
    Result res1 = myObject.retrieveResults(params)
    // assert something
  
    Result res2 = myObject.retrieveResults(param2)
    //asert on results
  }
  
  Result retrieveResults(Parameters param) {
   // do something
    // call to remote service
    // if they do not give result throw CustomException()
    // return Result
  }
  </code></pre>
  
  <p>So basically in my test i would want to check if <code>myObject.retrieveResult</code> is throwing CustomException then skip that test, otherwise evaluate normally. </p>