Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.
@LinkingNote in YATSPEC
Wojciech Bulaty
13 Oct 2015
Me (Wojtek)
9 years of software development
5+ years of TDD, pair programming, etc.
Yatspec
● Don't know how YATSPEC works?
– http://test-driven-development.com/2011/10/example-rev
Warmup!
https://www.mentimeter.com/
Problem
● Acceptance tests
– Find
– Understand
– Modify/Add/Delete
● A lot of time for complex domains
– 60-95% tests
– 5-...
Better tests
● Easier to find
● Easier to understand
● Easier to maintain
● Save time! :)
● Not easy! :(
● Best practices
One more tool in the toolbox
SAVE TIME! :)
● This is NOT going to solve all problems
● @LinkingNote
– Link to other test c...
Example
● Let's code!
Summary
● Use @LinkingNote
– remove duplication, find tests easier, ...
– save time
● Available in Yatspec 1.13
Credits & Thanks
● The team!
Feedback!
Questions?
http://test-driven-development.com/
Próxima SlideShare
Cargando en…5
×

@LinkingNote annotation in YATSPEC

3.097 visualizaciones

Publicado el

How and why do you wanna use @LinkingNote in Yatspec?

Publicado en: Ingeniería
  • Sé el primero en comentar

  • Sé el primero en recomendar esto

@LinkingNote annotation in YATSPEC

  1. 1. @LinkingNote in YATSPEC Wojciech Bulaty 13 Oct 2015
  2. 2. Me (Wojtek) 9 years of software development 5+ years of TDD, pair programming, etc.
  3. 3. Yatspec ● Don't know how YATSPEC works? – http://test-driven-development.com/2011/10/example-rev
  4. 4. Warmup! https://www.mentimeter.com/
  5. 5. Problem ● Acceptance tests – Find – Understand – Modify/Add/Delete ● A lot of time for complex domains – 60-95% tests – 5-40% production code ● How can we save time?
  6. 6. Better tests ● Easier to find ● Easier to understand ● Easier to maintain ● Save time! :) ● Not easy! :( ● Best practices
  7. 7. One more tool in the toolbox SAVE TIME! :) ● This is NOT going to solve all problems ● @LinkingNote – Link to other test classes – Remove duplication (less acceptance more unit) – Easier to find tests – SRP/DRY
  8. 8. Example ● Let's code!
  9. 9. Summary ● Use @LinkingNote – remove duplication, find tests easier, ... – save time ● Available in Yatspec 1.13
  10. 10. Credits & Thanks ● The team!
  11. 11. Feedback!
  12. 12. Questions? http://test-driven-development.com/

×