Todo Mundo Junto
• “Agile development encourages us to solve our
problems as a team. Business people,
programmers, testers, analysts—everyone
involved in software development—decides
together how best to improve their product.
Best of all, as testers, we're working together
with a team of people who all feel responsible
for delivering the best possible quality, and who
are all focused on testing.We love doing this
work, and you will too.”
quarta-feira, 16 de setembro de 2009
Mas quem é testador?
quarta-feira, 16 de setembro de 2009
alguém que não teme mudanças
quarta-feira, 16 de setembro de 2009
alguém que colabora com gente técnica ou
de negócios
quarta-feira, 16 de setembro de 2009
alguém que entende o conceito de usar testes para
documentar requisitos e dirigir o desenvolvimento
quarta-feira, 16 de setembro de 2009
alguém que tenha interesse em entender o negócio do
cliente para entender melhor os requisitos
quarta-feira, 16 de setembro de 2009
alguém que tende a ter boas
habilidades técnicas
quarta-feira, 16 de setembro de 2009
"Sem ação o conhecimento não é nada"
quarta-feira, 16 de setembro de 2009
O que faz uma equipe ser ágil?
quarta-feira, 16 de setembro de 2009
Foco em contínuo em fazer o melhor trabalho possível
para entregar o melhor produto possível
quarta-feira, 16 de setembro de 2009
Smoke Tests
It refers to the first test made after
repairs or first assembly to provide
some assurance that the system
under test will not catastrophically
fail. After a smoke test proves that
"the pipes will not leak, the keys seal
properly, the circuit will not burn, or
the software will not crash outright,"
the assembly is ready for more
stressful testing.
quarta-feira, 16 de setembro de 2009
Smoke Tests in Software
In computer programming and
software testing, smoke testing is a
preliminary to further testing,
which should reveal simple failures
severe enough to reject a
prospective software release. In this
case, the smoke is metaphorical.
quarta-feira, 16 de setembro de 2009
7 Princípios da Escola Context-Driven
1. The value of any practice depends on its context.
2. There are good practices in context, but there are no best practices.
3. People, working together, are the most important part of any project's context.
4. Projects unfold over time in ways that are often not predictable.
5. The product is a solution. If the problem isn't solved, the product doesn't work.
6. Good software testing is a challenging intellectual process.
7. Only through judgment and skill, exercised cooperatively throughout the entire
project, are we able to do the right things at the right times to effectively test
our products.
quarta-feira, 16 de setembro de 2009
Peça ao Cliente que prepare
exemplos
Adding Items to the Shopping cart
There are 5 items on a page. I want to select item 1
for $20.25 and put it in the shopping cart. I click
to the next page, which has 5 more items. I select a
second item on that page for $5.38 and put it in my
shopping cart. When I say I'm done shopping, it will
show both the item from the first page and the item
from the second page in my shopping cart, with the
total of $25.63
quarta-feira, 16 de setembro de 2009
BDD
assertEquals(42.50, pedido.getTotal())
pedido.getTotal().deveSer(42.50)
quarta-feira, 16 de setembro de 2009
BDD
scenario "Gold-level customer with $50 in shopping cart", {
given "a Gold-level customer"
when "their shopping cart totals $50 or more"
then " they should receive a 15% discount off the total price"
}
quarta-feira, 16 de setembro de 2009
BDD
scenario "Gold-level customer with $50 in shopping cart", {
given "a Gold-level customer", {
customer = new GoldCustomer()
}
when "their shopping cart totals $50 or more", {
customer.shoppingCart << new Item("widget", 50.00)
}
then "they should receive a 15% discount off the total price" , {
customer.orderPrice.shouldBe 42.50
}
}
quarta-feira, 16 de setembro de 2009
Personas
• Nancy Newbie, a senior citizen who is new to Internet
shopping and nervous about identity theft
• Hudson Hacker, who looks for ways to cheat the checkout
page
• Enrico Executive, who does all his shopping online and ships
gifts to all his clients worldwide
• Betty Bargain, who's looking for great deals
• Debbie Ditherer, who has a hard time deciding what items
she really wants to order
quarta-feira, 16 de setembro de 2009