congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
StepFailure.getMessage
Code IndexAdd Tabnine to your IDE (free)

How to use
getMessage
method
in
net.thucydides.core.steps.StepFailure

Best Java code snippets using net.thucydides.core.steps.StepFailure.getMessage (Showing top 6 results out of 315)

origin: net.thucydides/thucydides-core

public void stepFailed(StepFailure failure) {
  if (loggingLevelIsAtLeast(getLoggingLevel().VERBOSE)) {
    getLogger().info("STEP FAILED: " + failure.getMessage());
  }
}
origin: net.serenity-bdd/core

public void stepFailed(StepFailure failure) {
  if (loggingLevelIsAtLeast(getLoggingLevel().VERBOSE)) {
    getLogger().info("STEP FAILED: " + failure.getMessage());
  }
}
origin: net.serenity-bdd/serenity-model

public void stepFailed(StepFailure failure) {
  if (loggingLevelIsAtLeast(LoggingLevel.VERBOSE)) {
    String errorMessage = (failure.getException() != null) ? failure.getException().toString() : failure.getMessage();
    String failureType = analysis.resultFor(failure.getException()).name();
    getLogger().info(red("STEP {}: {}"), failureType, errorMessage);
  }
}
origin: net.serenity-bdd/core

private void recordFailureDetailsInFailingTestStep(final StepFailure failure) {
  if (currentStepExists()) {
    getCurrentStep().failedWith(new StepFailureException(failure.getMessage(), failure.getException()));
  }
}
origin: net.thucydides/thucydides-core

private void recordFailureDetailsInFailingTestStep(final StepFailure failure) {
  if (currentStepExists()) {
    getCurrentStep().failedWith(new StepFailureException(failure.getMessage(), failure.getException()));
  }
}
origin: net.serenity-bdd/serenity-core

private void recordFailureDetails(final StepFailure failure) {
  if (currentStepExists()) {
    getCurrentStep().failedWith(new StepFailureException(failure.getMessage(), failure.getException()));
  }
  if (shouldTagErrors()) {
    addTagFor(getCurrentTestOutcome());
  }
  lastFailingExample = currentExample;
}
net.thucydides.core.stepsStepFailuregetMessage

Popular methods of StepFailure

  • <init>
  • getException
  • getExceptionClass

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • notifyDataSetChanged (ArrayAdapter)
  • addToBackStack (FragmentTransaction)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Menu (java.awt)
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now