Git Product home page Git Product logo

qaops-automation-api's Introduction

Selecione sua Língua | Select your Language

Português English

Testes de API usando rest assured

Repositório

Requisitos

  • Java 8+
  • Gradle 6.3

Branches

  • Master (contém o código do último vídeo) - pt-master
  • Vídeo 1 - pt-01-projeto-inicial
  • Vídeo 2 - pt-02-primeiros-testes-com-rest-assured
  • Vídeo 3 - pt-03-refatora-e-faz-serializacao
  • Vídeo 4 - pt-04-request-specification-e-teste-base
  • Vídeo 5 - pt-05-groovy-collection-e-extract
  • Vídeo 6 - pt-06-deserializacao-e-response-spec
  • Vídeo 7 - pt-07-lombok-e-hashmap
  • Vídeo 8 - pt-08-teste-usuario-alternativo

Comandos

  • gradle init - criar um projeto gradle
  • gradle wrapper - necessário para criar o Gradle wrapper para poder rodar o gradlew
  • ./gradlew tasks - mostra todas as tarefas disponíveis
  • ./gradlew test - roda todos os testes do pacote 'src/test'

Slides

Vídeos

  1. Criando o Projeto
  2. Fazendo os primeiros testes GET e POST
  3. Serialização e classe de domínio
  4. Request Spec e Herança
  5. Groovy Collection e Rest Assured Extract
  6. Deserialização e Response Spec
  7. Lombok e Post com HashMap
  8. Teste usuário alternativo e próximos passos

API testing using rest assured

Repository

Requirements

  • Java 8+
  • Gradle 6.3

Branches

  • Master (has the code from the last video) - en-master
  • Video 1 - en-01-initial-project
  • Video 2 - en-02-create-first-restassured-tests
  • Video 3 - en-03-refactor-and-serialize
  • Video 4 - en-04-request-specification-and-base-test
  • Video 5 - en-05-groovy-collection-and-extract
  • Video 6 - en-06-deserialization-and-response-spec
  • Video 7 - en-07-lombok-and-hashmap
  • Video 8 - en-08-alternative-test

Commands

  • gradle init - creates the gradle project
  • gradle wrapper - needed for creating create the gradle wrapper in order to run the gradlew
  • ./gradlew tasks - mostra todas as tarefas disponíveis
  • ./gradlew test - roda todos os testes do pacote 'src/test'

Slides

Videos

  1. Creating the Project
  2. Doing the first GET and POST tests
  3. Serialization and domain class
  4. Request Spec and Inheritance
  5. Groovy Collection e Rest Assured Extract
  6. Deserialization and Response Spec
  7. Lombok and Post with HashMap
  8. Alternative test and next steps

qaops-automation-api's People

Contributors

rafael-lima-tw avatar rafalima avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.