Skip to content

Commit

Permalink
feat: Adding postman collection ready to execute against development …
Browse files Browse the repository at this point in the history
…environment + infos about in the README
  • Loading branch information
henriqueholtz committed Jun 15, 2024
1 parent 2b386cd commit e3c4952
Show file tree
Hide file tree
Showing 2 changed files with 933 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,14 @@ dotnet test ./ShareBook/ShareBook.Test.Unit/ShareBook.Test.Unit.csproj
# clean
dotnet clean ./ShareBook/ShareBook.Api/ShareBook.Api.csproj --verbosity quiet
```

## **[WIP] 8 - Como testar a aplicação usando postman**

Atenção! Este passo está em construção e ainda exige alguns passos manuais. Em breve será automatizado.

Consiste em usar uma collection do postman (v2.1) para testar os resultados das requisições. No momento a collection está pronta para usa no ambiente de dev.

1. Obter o arquivo [ShareBook API - Tests.postman_collection.json](./ShareBook%20API%20-%20Tests.postman_collection.json) do repositório
2. Usando a ferramenta postman, clique em importar e selecione o arquivo
3. Com o botão direito na collection `ShareBook API - Tests`, clique em `Run collection`
4. Na nova janela clique em executar. Após executar verifique a quantidade de erros.
Loading

0 comments on commit e3c4952

Please sign in to comment.