NaturalIntelligence/Stubmatic

View on GitHub
functional-tests/assets/mappings/dumps.yaml

Summary

Maintainability
Test Coverage
#dumps in 
-  request:
      url: /stubs/dumps/body/old

   response:
      body: Some text. [[foo:1]] and [[:foo/2]]. both [[foo:1,2]]

-  request:
      url: /stubs/dumps/body/new

   response:
      body: 'Some text. {{include("foo/1")}} and {{include("foo/2")}}. both {{include("foo/1","foo/2")}}'

#TODO: write ft for this step
-  request:
      url: /stubs/dumps/body/new/(.*)

   response:
      body: 'Some text. {{include("foo/1")}} and {{include(url[1])}}. both {{include("foo/1",url[1])}}'