Class CustomizingStoryPathResolver

  • All Implemented Interfaces:
    org.jbehave.core.io.StoryPathResolver

    public class CustomizingStoryPathResolver
    extends org.jbehave.core.io.UnderscoredCamelCaseResolver
    This Story Path Resolver save the story class in spring context to use story customisations, e.g. @ApiOnly.
    Author:
    Daniel Keiss <daniel.keiss@telekom.de>

    Copyright (c) 2020 Daniel Keiss, Deutsche Telekom IT GmbH This file is distributed under the conditions of the Apache License, Version 2.0. For details see the file license on the toplevel.

    • Field Detail

      • applicationContext

        @NonNull
        protected final @NonNull org.springframework.context.ApplicationContext applicationContext
    • Constructor Detail

      • CustomizingStoryPathResolver

        public CustomizingStoryPathResolver​(@NonNull
                                            @NonNull org.springframework.context.ApplicationContext applicationContext)
    • Method Detail

      • resolveName

        protected String resolveName​(Class<? extends org.jbehave.core.Embeddable> embeddableClass)
        Overrides:
        resolveName in class org.jbehave.core.io.UnderscoredCamelCaseResolver