Skip to content

Instantly share code, notes, and snippets.

View ptrthomas's full-sized avatar

Peter Thomas ptrthomas

View GitHub Profile
@ptrthomas
ptrthomas / karate-answers2.feature
Last active January 27, 2019 14:04
Karate example that replaces the combination of REST-Assured and TestNG data-provider | https://bit.ly/2G4qvBe
Feature: karate answers 2
Background:
* url 'http://localhost:8080'
Scenario Outline: given circuit name, validate country
Given path 'api/f1/circuits/<name>.json'
When method get
Then match $.MRData.CircuitTable.Circuits[0].Location.country == '<country>'