Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
O que evitar na escrita
dos Critérios de Aceite
Elias Nogueira
eliasnogueira http://adapt.works
elias.nogueira.teste http:...
Todos no mesmo contexto
Impacto - Meta
Entregável - Saída
Critérios de
Aceite
Exemplos
Porque?
Como?
Épico
User Story
Códi...
Critério de Aceite
Definir os limites de uma user story/feature
Ajuda o PO a responder o que ele precisa para
fornecer val...
Critério de Aceite
Usa a mesma linguagem que seu cliente utiliza
Apresenta o que é e o que não é aceitável
Devem apresenta...
Focar em Critérios Concretos
ao invés de Abstratos
ABSTRATO
Como um possível cliente
Eu gostaria de adicionar livros no me...
Acreditar que um Critério de
Aceite é um Teste
ACEITAÇÃO
Dado que eu sou um cliente do
Brasil
Quando eu comprar um produto...
Especificar Intenção sobre
Implementação
INTENÇÃO
Dado que eu sou um cliente do
Brasil
Quando eu comprar um produto
da cat...
Diferentes Critérios em um único
CONFUSÃO DE CRITÉRIOS
Dado que eu tenha efetuado o login no sistema com dados válidos
Qua...
CRUD
NÃO AGREGAR VALOR AO NEGÓCIO
Dado que eu sou o administrador do sistema
E vejo a página inicial a aplicação
Quando eu...
CRUD – O que eu posso fazer?
Criar pessoas
Seguir protótipo 01
Listar Pessoas
Seguir protótipo 02
Dicas Gerais
• Não deturpe o conceito inicial de BDD usando Critérios de
Aceite apenas para criar especificações executáve...
O que evitar na escrita
dos Critérios de Aceite
Elias Nogueira
eliasnogueira http://adapt.works
elias.nogueira.teste http:...
Upcoming SlideShare
Loading in …5
×

O que Evitar na Escrita de Criterios de Aceite

4,333 views

Published on

Palestra ministrada no The Developers Conference 2016 Porto Alegre dia 07/10/2016 e no The Developers Conference 2017 Florianópolis no dia 04/05/2017 apresentando alguns anti padrões na escrita de Critérios de Aceite.

Published in: Software
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • ACCESS that WEBSITE Over for All Ebooks (Unlimited) ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... DOWNLOAD FULL EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M }
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

O que Evitar na Escrita de Criterios de Aceite

  1. 1. O que evitar na escrita dos Critérios de Aceite Elias Nogueira eliasnogueira http://adapt.works elias.nogueira.teste http://eliasnogueira.com
  2. 2. Todos no mesmo contexto Impacto - Meta Entregável - Saída Critérios de Aceite Exemplos Porque? Como? Épico User Story Código Impact Mapping Story Mapping Specification By Example Necessidade de discussão Fácil de definir antecipadamente Difícil de definir antecipadamente
  3. 3. Critério de Aceite Definir os limites de uma user story/feature Ajuda o PO a responder o que ele precisa para fornecer valor Ajuda o time a ter o entendimento compartilhado da story/feature Ajuda desenvolvedores e testadores a derivar testes Ajuda os desenvolvedores a saber quando parar de adicionar mais funcionalidades para a story http://nomad8.com/acceptance_criteria/
  4. 4. Critério de Aceite Usa a mesma linguagem que seu cliente utiliza Apresenta o que é e o que não é aceitável Devem apresentar intenção, não a solução! @eliasnogueira
  5. 5. Focar em Critérios Concretos ao invés de Abstratos ABSTRATO Como um possível cliente Eu gostaria de adicionar livros no meu carrinho de compras Para que eu possa comprar diversos livros de uma só vez • Livros devem ser adicionados no carrinho de compras • Livros podem ser removidos do carrinho de compras • Carrinho de compras está inicialmente vazio • O mesmo livro pode ser adicionado múltiplas vezes no carrinho CONCRETO Dado que eu já tenha adicionado o livro ”User Stories Applied” Quando eu adiciono novamente o mesmo livro Então a quantidade total deste livro no carrinho de compras é atualizada para +1
  6. 6. Acreditar que um Critério de Aceite é um Teste ACEITAÇÃO Dado que eu sou um cliente do Brasil Quando eu comprar um produto da categoria Eletrônico Entao eu vejo o frete grátis TESTE Dado que eu sou um cliente do Brasil Quando eu clico no menu Eletrônicos E eu adiciono um produto no carinho Então e vejo o carrinho de compras Quando eu informo as condições de pagamento Entao eu vejo que o frete é grátis
  7. 7. Especificar Intenção sobre Implementação INTENÇÃO Dado que eu sou um cliente do Brasil Quando eu comprar um produto da categoria Eletrônico Entao eu vejo o frete grátis IMPLEMENTAÇÃO Dado que eu sou um cliente do Brasil Quando eu clico no menu ”Eletrônicos” E eu clico no item ”TVs 49” E eu clico na ”TV LG Smart 49” E eu clico no botão ”Calcular Frete” Entao eu vejo a mensagem ”Frete Grátis” abaixo do botão
  8. 8. Diferentes Critérios em um único CONFUSÃO DE CRITÉRIOS Dado que eu tenha efetuado o login no sistema com dados válidos Quando eu entro na minha lista de desejos E clico em comprar Então eu preencho os dados do cartão de crédito E eu preencho o CEP E eu preencho um endereço diferente do meu E eu clico em efetuar o pagamento E eu vejo a compra realizada com sucesso Ou a compra negada por dados incorretos do cartão de crédito
  9. 9. CRUD NÃO AGREGAR VALOR AO NEGÓCIO Dado que eu sou o administrador do sistema E vejo a página inicial a aplicação Quando eu clico no botão Novo Usuário E eu preencho o campo nome E eu preencho o campo CPF E eu clico em Salvar Entao eu sou redirecionado para a lista de pessoas E eu vejo o registro no tipo da lista
  10. 10. CRUD – O que eu posso fazer? Criar pessoas Seguir protótipo 01 Listar Pessoas Seguir protótipo 02
  11. 11. Dicas Gerais • Não deturpe o conceito inicial de BDD usando Critérios de Aceite apenas para criar especificações executáveis • Existem três tipos de critérios de aceite • Funcionais • Não Funcionais • Performance • Não torne um Critério de Aceite um Caso de Teste • O seu cliente deve entender, de forma clara e direta, o Critério de Aceite assim como ele entende a User Story
  12. 12. O que evitar na escrita dos Critérios de Aceite Elias Nogueira eliasnogueira http://adapt.works elias.nogueira.teste http://eliasnogueira.com

×