SlideShare uma empresa Scribd logo
Cleiton Felipe de Moraes, 20/07/2019
Testando a sua app com
Xamarin UI Test e Specflow
2GFT GROUP
Shaping the
future of digital
business
Agenda
21/07/2019
1. Quem é o Cleiton?
2. Xamarin UI Test
3. AAA (Arrange-Act-Assert pattern)
4. O que é REPL(Read-Eval-Print-Loop) e como utilizá-lo?
5. O que é BDD?
6. Specflow
7. Demos
8. Por onde começar?
9. Dúvidas
10. Referências
Type here if add
info needed for
every slide
3GFT GROUP
Shaping the
future of digital
business
Quem é Cleiton Moraes
21/07/2019
▪ Cleiton Felipe de Moraes
▪ Software Engineer na GFT
▪ +|- 10 anos de experiência em desenvolvimento de software
▪ Sou um pai do Pedro (anjo azul), casado, sorocabano que
mora em Curitiba e torce para o Cruzeiro
▪ Sou nerd e já fui graffiteiro e skatista...
▪ Trabalhei com várias tecnologias como Java, PHP, ASP
Clássico e hoje sou focado na plataforma .Net
(Web/Desktop/Mobile/Server) e Azure e estudando GCP e
AWS..
Type here if add
info needed for
every slide
4GFT GROUP
Shaping the
future of digital
business
Xamarin UI Test
21/07/2019
▪ Framework de automação de testes de UI baseado no Calabash, que permite
desenvolvedores/programadores escreverem e executarem testes escritos em C# com
Nunit para validação de funcionalidades de app´s IOS e Android, sejam elas nativas ou
hibridas.
Type here if add
info needed for
every slide
5GFT GROUP
Shaping the
future of digital
business
AAA - Arrange-Act-Assert pattern
21/07/2019
Type here if add
info needed for
every slide
Assert
Act
Arrange
Considere o setup para o seu teste,
tudo que o teste precisa para
executar deve ser inicializado aqui.
Neste passo executamos as ações
do nosso teste.
Neste momento validamos tudo que
valide que o nosso teste fez.
6GFT GROUP
Shaping the
future of digital
business
O que é REPL(Read-Eval-Print-Loop) e como utilizá-lo?
21/07/2019
Type here if add
info needed for
every slide
É a ferramenta
que vai nos
auxiliar a
escrever os
testes. Com ela
conseguimos
analisar a árvore
de componentes
que temos em
cada parte da
app e realizar a
escrita do teste
já vendo a sua
execução.
7GFT GROUP
Shaping the
future of digital
business
BDD - Specflow
21/07/2019
Type here if add
info needed for
every slide
8GFT GROUP
Shaping the
future of digital
business
O que é BDD?
21/07/2019
Type here if add
info needed for
every slide
9GFT GROUP
Shaping the
future of digital
business
O que é BDD?
21/07/2019
Type here if add
info needed for
every slide
Seu Projeto
Compete ao “Negócio”
Funcionalidades
Cenário
Passos
Compete ao “TI”
Step Definitions
Codificação
Bibliotecas de Automação
10GFT GROUP
Shaping the
future of digital
business
Specflow
21/07/2019
▪ “Use SpecFlow to define, manage and execute automated acceptance tests from
business-readable specifications. SpecFlow acceptance tests follow the BDD paradigm:
define specifications using examples understandable to business users as well as
developers and testers. SpecFlow integrates with Visual Studio, but can be also used
from the command line (e.g. on a build server).”
Type here if add
info needed for
every slide
11GFT GROUP
Shaping the
future of digital
business
Demos
21/07/2019
Type here if add
info needed for
every slide
12GFT GROUP
Shaping the
future of digital
business
Demo MAC
21/07/2019
Type here if add
info needed for
every slide
13GFT GROUP
Shaping the
future of digital
business
Xamarin UI Test + Specflow
21/07/2019
Type here if add
info needed for
every slide
14GFT GROUP
Shaping the
future of digital
business
Demo Windows
21/07/2019
Type here if add
info needed for
every slide
15GFT GROUP
Shaping the
future of digital
business
Por onde começar?
21/07/2019
Type here if add
info needed for
every slide
16GFT GROUP
Shaping the
future of digital
business
Por onde começar?
21/07/2019
▪ Site Specflow (http://www.specflow.org/)
▪ Xamarin (https://docs.microsoft.com/en-
us/learn/browse/?products=xamarin)
▪ UI Test (https://docs.microsoft.com/en-
us/appcenter/test-cloud/uitest/)
▪ BDD (https://dannorth.net/introducing-bdd/ /
https://martinfowler.com/bliki/GivenWhenThen.html )
Type here if add
info needed for
every slide
17GFT GROUP
Shaping the
future of digital
business
Dúvidas?
21/07/2019
Type here if add
info needed for
every slide
18GFT GROUP
Shaping the
future of digital
business
Referências
21/07/2019
▪ Microsoft Learn (https://docs.microsoft.com/pt-
br/learn/)
▪ Microsoft Docs (https://docs.microsoft.com/pt-
br/xamarin/#pivot=get-started&panel=get-started1)
▪ Blog Xamarin
(https://devblogs.microsoft.com/xamarin/)
▪ Eu ☺ (
▪ https://medium.com/@cleiton_felipe /
https://github.com/cleitonfelipe /
https://twitter.com/cleiton_felipe)
▪ Code Monkey Night
(https://www.youtube.com/channel/UCFaQBRaoHrAx
cGoeY8E5jvQ)
Type here if add
info needed for
every slide
Shaping the future
of digital business
Thanks so much!
GFT …
Cleiton Moraes
Software Engineer
Avenida Sete de Setembro
2451 Curitiba/PR
T +55 41 4009-5726 / 98804-7378
Cleiton.De-Moraes@gft.com
https://medium.com/@cleiton_felipe
https://github.com/cleitonfelipe / https://instagran.com/
https://twitter.com/cleiton_felipe

Mais conteúdo relacionado

PDF
Desenvolvimento Mobile: Híbrido x Nativo
PDF
Introdução ao Desenvolvimento Móvel
PDF
V Café & CODE - Provocações do Mestre - Prof. MSc. Cloves Rocha
PPS
ApresentaçãO Final
PDF
Architecture components testing TDC SP 2018
PDF
Apresentação Getty/IO 2017
PPTX
Hangout Tempo Real Eventos - Javascript - Os Primeiros Passos
PPTX
Expression blend : apps incriveis com menos código
Desenvolvimento Mobile: Híbrido x Nativo
Introdução ao Desenvolvimento Móvel
V Café & CODE - Provocações do Mestre - Prof. MSc. Cloves Rocha
ApresentaçãO Final
Architecture components testing TDC SP 2018
Apresentação Getty/IO 2017
Hangout Tempo Real Eventos - Javascript - Os Primeiros Passos
Expression blend : apps incriveis com menos código

Semelhante a Xamarin UI Test + Specflow TDC (20)

PPTX
BDD com Xamarin UI Test e Specflow
PPTX
Xamarin UI Test + BDD Specflow
PPTX
Specflow - Criando uma ponte entre desenvolvedores.
PPTX
BDD com SpecFlow
PPTX
Bdd com spec flow
PPTX
BDD com SpecFlow
PDF
Automação de testes - uma introdução sobre estratégias
PDF
TDC2018FLN | Trilha Mobile - Teste Automatizado com Xamarin UI Test
PPTX
Utilizando BDD com Specflow e Selenium para testes Web MSP Tech Day Curitiba
PPS
Automação de testes para equipes agile
PPTX
BDD (Behavior-Driven Development)
PPTX
BDD (Behavior-Driven Development) - Setembro/2015
PPTX
Behavior-Driven Development (BDD) - DevOps Summit 2016
PPTX
Testes na plataforma .NET: TDD, Mocks, BDD e Selenium - Developers-SP - Janei...
PPTX
A aventura de um Agile Tester em uma empresa Waterfall Portuguesa
PPTX
Testes na plataforma .NET: TDD, Mocks, BDD e Selenium - Hertz - Janeiro-2018
PPTX
Testes na plataforma .NET: TDD, Mocks, BDD e Selenium - Grupo Bandeirantes - ...
PPTX
Julho 2016 - BDD com SpecFlow
PPTX
#Moving br workshop
PPTX
Testes unitários e Mocks
BDD com Xamarin UI Test e Specflow
Xamarin UI Test + BDD Specflow
Specflow - Criando uma ponte entre desenvolvedores.
BDD com SpecFlow
Bdd com spec flow
BDD com SpecFlow
Automação de testes - uma introdução sobre estratégias
TDC2018FLN | Trilha Mobile - Teste Automatizado com Xamarin UI Test
Utilizando BDD com Specflow e Selenium para testes Web MSP Tech Day Curitiba
Automação de testes para equipes agile
BDD (Behavior-Driven Development)
BDD (Behavior-Driven Development) - Setembro/2015
Behavior-Driven Development (BDD) - DevOps Summit 2016
Testes na plataforma .NET: TDD, Mocks, BDD e Selenium - Developers-SP - Janei...
A aventura de um Agile Tester em uma empresa Waterfall Portuguesa
Testes na plataforma .NET: TDD, Mocks, BDD e Selenium - Hertz - Janeiro-2018
Testes na plataforma .NET: TDD, Mocks, BDD e Selenium - Grupo Bandeirantes - ...
Julho 2016 - BDD com SpecFlow
#Moving br workshop
Testes unitários e Mocks
Anúncio

Mais de Cleiton Felipe Moraes (9)

PPTX
Criando uma Arquitetura Testável
PPTX
Minha App com Analise de Sentimentos...Pode isso?
PPTX
Entendendo o que é o Xamarin e desenvolvendo sua primeira app - Meetup Xamari...
PPTX
Xamarin UI Test e VS Mobile Center
PPTX
Entendendo o Xamarin UiTest no TDC
PPTX
Bdd-Visual Studio Summit 2015
PPT
Azure blob xamarin-tdc2016
PPTX
Reconhecimento de voz no Windows Phone
PPTX
Desenvolvimento para windows phone
Criando uma Arquitetura Testável
Minha App com Analise de Sentimentos...Pode isso?
Entendendo o que é o Xamarin e desenvolvendo sua primeira app - Meetup Xamari...
Xamarin UI Test e VS Mobile Center
Entendendo o Xamarin UiTest no TDC
Bdd-Visual Studio Summit 2015
Azure blob xamarin-tdc2016
Reconhecimento de voz no Windows Phone
Desenvolvimento para windows phone
Anúncio

Último (19)

PDF
Custos e faturamento no SAP S/4HANA Transportation Management, S4TM3 Col26
PPTX
Aula16ManipulaçãoDadosssssssssssssssssssssssssssss
PDF
Aula04-Academia Heri- Tecnologia Geral 2025
PPTX
BANCO DE DADOS - AULAS INICIAIS-sgbd.pptx
PPTX
Como-se-implementa-um-softwareeeeeeeeeeeeeeeeeeeeeeeee.pptx
PDF
Fullfilment AI - Forum ecommerce 2025 // Distrito e Total Express
PDF
Otimizador de planejamento e execução no SAP Transportation Management, TM120...
PDF
Fundamentos de gerenciamento de ordens e planejamento no SAP TransportationMa...
PDF
Mergulho profundo técnico para gestão de transportes no SAP S/4HANA, S4TM6 Col14
PDF
COBITxITIL-Entenda as diferença em uso governança TI
PPTX
Informática Aplicada Informática Aplicada Plano de Ensino - estudo de caso NR...
PPTX
Gestao-de-Bugs-em-Software-Introducao.pptxxxxxxxx
PPTX
Aula 18 - Manipulacao De Arquivos python
PDF
20250805_ServiceNow e a Arquitetura Orientada a Serviços (SOA) A Base para Ap...
PDF
Processos na gestão de transportes, TM100 Col18
PDF
Custos e liquidação no SAP Transportation Management, TM130 Col18
PPTX
Programação - Linguagem C - Variáveis, Palavras Reservadas, tipos de dados, c...
PDF
Apple Pippin Uma breve introdução. - David Glotz
PDF
Gestão de transportes básica no SAP S/4HANA, S4611 Col20
Custos e faturamento no SAP S/4HANA Transportation Management, S4TM3 Col26
Aula16ManipulaçãoDadosssssssssssssssssssssssssssss
Aula04-Academia Heri- Tecnologia Geral 2025
BANCO DE DADOS - AULAS INICIAIS-sgbd.pptx
Como-se-implementa-um-softwareeeeeeeeeeeeeeeeeeeeeeeee.pptx
Fullfilment AI - Forum ecommerce 2025 // Distrito e Total Express
Otimizador de planejamento e execução no SAP Transportation Management, TM120...
Fundamentos de gerenciamento de ordens e planejamento no SAP TransportationMa...
Mergulho profundo técnico para gestão de transportes no SAP S/4HANA, S4TM6 Col14
COBITxITIL-Entenda as diferença em uso governança TI
Informática Aplicada Informática Aplicada Plano de Ensino - estudo de caso NR...
Gestao-de-Bugs-em-Software-Introducao.pptxxxxxxxx
Aula 18 - Manipulacao De Arquivos python
20250805_ServiceNow e a Arquitetura Orientada a Serviços (SOA) A Base para Ap...
Processos na gestão de transportes, TM100 Col18
Custos e liquidação no SAP Transportation Management, TM130 Col18
Programação - Linguagem C - Variáveis, Palavras Reservadas, tipos de dados, c...
Apple Pippin Uma breve introdução. - David Glotz
Gestão de transportes básica no SAP S/4HANA, S4611 Col20

Xamarin UI Test + Specflow TDC

  • 1. Cleiton Felipe de Moraes, 20/07/2019 Testando a sua app com Xamarin UI Test e Specflow
  • 2. 2GFT GROUP Shaping the future of digital business Agenda 21/07/2019 1. Quem é o Cleiton? 2. Xamarin UI Test 3. AAA (Arrange-Act-Assert pattern) 4. O que é REPL(Read-Eval-Print-Loop) e como utilizá-lo? 5. O que é BDD? 6. Specflow 7. Demos 8. Por onde começar? 9. Dúvidas 10. Referências Type here if add info needed for every slide
  • 3. 3GFT GROUP Shaping the future of digital business Quem é Cleiton Moraes 21/07/2019 ▪ Cleiton Felipe de Moraes ▪ Software Engineer na GFT ▪ +|- 10 anos de experiência em desenvolvimento de software ▪ Sou um pai do Pedro (anjo azul), casado, sorocabano que mora em Curitiba e torce para o Cruzeiro ▪ Sou nerd e já fui graffiteiro e skatista... ▪ Trabalhei com várias tecnologias como Java, PHP, ASP Clássico e hoje sou focado na plataforma .Net (Web/Desktop/Mobile/Server) e Azure e estudando GCP e AWS.. Type here if add info needed for every slide
  • 4. 4GFT GROUP Shaping the future of digital business Xamarin UI Test 21/07/2019 ▪ Framework de automação de testes de UI baseado no Calabash, que permite desenvolvedores/programadores escreverem e executarem testes escritos em C# com Nunit para validação de funcionalidades de app´s IOS e Android, sejam elas nativas ou hibridas. Type here if add info needed for every slide
  • 5. 5GFT GROUP Shaping the future of digital business AAA - Arrange-Act-Assert pattern 21/07/2019 Type here if add info needed for every slide Assert Act Arrange Considere o setup para o seu teste, tudo que o teste precisa para executar deve ser inicializado aqui. Neste passo executamos as ações do nosso teste. Neste momento validamos tudo que valide que o nosso teste fez.
  • 6. 6GFT GROUP Shaping the future of digital business O que é REPL(Read-Eval-Print-Loop) e como utilizá-lo? 21/07/2019 Type here if add info needed for every slide É a ferramenta que vai nos auxiliar a escrever os testes. Com ela conseguimos analisar a árvore de componentes que temos em cada parte da app e realizar a escrita do teste já vendo a sua execução.
  • 7. 7GFT GROUP Shaping the future of digital business BDD - Specflow 21/07/2019 Type here if add info needed for every slide
  • 8. 8GFT GROUP Shaping the future of digital business O que é BDD? 21/07/2019 Type here if add info needed for every slide
  • 9. 9GFT GROUP Shaping the future of digital business O que é BDD? 21/07/2019 Type here if add info needed for every slide Seu Projeto Compete ao “Negócio” Funcionalidades Cenário Passos Compete ao “TI” Step Definitions Codificação Bibliotecas de Automação
  • 10. 10GFT GROUP Shaping the future of digital business Specflow 21/07/2019 ▪ “Use SpecFlow to define, manage and execute automated acceptance tests from business-readable specifications. SpecFlow acceptance tests follow the BDD paradigm: define specifications using examples understandable to business users as well as developers and testers. SpecFlow integrates with Visual Studio, but can be also used from the command line (e.g. on a build server).” Type here if add info needed for every slide
  • 11. 11GFT GROUP Shaping the future of digital business Demos 21/07/2019 Type here if add info needed for every slide
  • 12. 12GFT GROUP Shaping the future of digital business Demo MAC 21/07/2019 Type here if add info needed for every slide
  • 13. 13GFT GROUP Shaping the future of digital business Xamarin UI Test + Specflow 21/07/2019 Type here if add info needed for every slide
  • 14. 14GFT GROUP Shaping the future of digital business Demo Windows 21/07/2019 Type here if add info needed for every slide
  • 15. 15GFT GROUP Shaping the future of digital business Por onde começar? 21/07/2019 Type here if add info needed for every slide
  • 16. 16GFT GROUP Shaping the future of digital business Por onde começar? 21/07/2019 ▪ Site Specflow (http://www.specflow.org/) ▪ Xamarin (https://docs.microsoft.com/en- us/learn/browse/?products=xamarin) ▪ UI Test (https://docs.microsoft.com/en- us/appcenter/test-cloud/uitest/) ▪ BDD (https://dannorth.net/introducing-bdd/ / https://martinfowler.com/bliki/GivenWhenThen.html ) Type here if add info needed for every slide
  • 17. 17GFT GROUP Shaping the future of digital business Dúvidas? 21/07/2019 Type here if add info needed for every slide
  • 18. 18GFT GROUP Shaping the future of digital business Referências 21/07/2019 ▪ Microsoft Learn (https://docs.microsoft.com/pt- br/learn/) ▪ Microsoft Docs (https://docs.microsoft.com/pt- br/xamarin/#pivot=get-started&panel=get-started1) ▪ Blog Xamarin (https://devblogs.microsoft.com/xamarin/) ▪ Eu ☺ ( ▪ https://medium.com/@cleiton_felipe / https://github.com/cleitonfelipe / https://twitter.com/cleiton_felipe) ▪ Code Monkey Night (https://www.youtube.com/channel/UCFaQBRaoHrAx cGoeY8E5jvQ) Type here if add info needed for every slide
  • 19. Shaping the future of digital business Thanks so much! GFT … Cleiton Moraes Software Engineer Avenida Sete de Setembro 2451 Curitiba/PR T +55 41 4009-5726 / 98804-7378 Cleiton.De-Moraes@gft.com https://medium.com/@cleiton_felipe https://github.com/cleitonfelipe / https://instagran.com/ https://twitter.com/cleiton_felipe