Skip to content

options accessibility #2

@simoneb

Description

@simoneb

It would be nice to be able to access the options defined in a server definition inside, say, http get in order to construct the path of the request. Would allow some reuse of tests by parameterizing them with server options. Or maybe it's already possible but I couldn't figure out how. Example:

server "some server", :path => "/somepath"

http do
    get options[:path] do

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions