Skip to content

elton182/behatStarter

Repository files navigation

behatStarter

##Para facilitar o uso do behat criei esse repo, como um guia inicial de utilização.

  1. Como usar
  • Clone o Projeto: git clone https://github.com/elton182/behatStarter
  1. Instale as dependências
  • Na raiz do projeto faça: composer install
  1. Instale o SeleniumServer
  1. Rode o SeliniumServer
  • java -jar ~/Downloads/selenium-server-standalone-2.53.1.jar
  1. Baixe os drivers dos browsers
  1. Execute o teste
  • Teste com Chrome behat -c behatChrome.yml -s web features\web\exemploselenium.feature
  • Teste com Firefox behat -c behatFirefox.yml -s web features\web\exemploselenium.feature
  • Teste com PhatonJs behat -c behatPhantom.yml -s web features\web\exemploselenium.feature

Agradeço ao Vitor Mattos por ter me apresentado a essa ferramenta incrível na palestra do PHPSP + IMA

About

Para facilitar o uso do behat criei esse repo, como um guia inicial.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published