Skip to content
Lucas Carnevalli edited this page Mar 31, 2020 · 13 revisions

Está sendo escrito, aguarde ... Enquanto isso você pode verificar a documentação antiga: https://github.com/osvaldjr/easy-cucumber/tree/master/docs/deprecated

Configuração

Alterações do pom.xml

<dependencies>
    <dependency>
        <groupId>io.github.osvaldjr</groupId>
        <artifactId>easy-cucumber-core</artifactId>
        <version>{ALTER FOR THE LATEST VERSION}</version>
    </dependency>
</dependencies>    

Alterações do application.yml

# spring properties

server.port: 9000

# easy cucumber properties

easycucumber:
   target.url: http://localhost:9000

Gherkins

I have a request with body ([^\"]*)

description...

I make a ([^\"]*) to ([^\"]*)

description...

I expect ([^\"]*) as response

description...

I make a request defined in ([^\"]*)

description...

I expect to receive a (\\d+) status

description...

I expect to receive a (\\d+) status with body ([^\"]*)

description...

my application host is ([^\"]*)

description...

response contains property ([^\"]*) with value ([^\"]*)

description...

response does not contain property ([^\"]*)

description...

response is valid according to schema ([^\"]*)

description...

Clone this wiki locally