Skip to content

Latest commit

 

History

History
72 lines (56 loc) · 2.66 KB

README.md

File metadata and controls

72 lines (56 loc) · 2.66 KB

Testowanie aplikacji w Ruby, 2015/16


refactoring

  1. Powtórka z języka Ruby.
  2. Ogólnie o testowaniu, dostępne narzędzia i technologie:
    • Edytor i Testowanie
    • [Learn X in Y minutes], where X=Rspec,Capybara,Factory Girl
  3. Wprowadzenie do RSpec.
  4. Testy jednostkowe.
  5. Testy integracyjne.
  6. Refaktoryzacja kodu.
  7. Pokrycie kodu testami.
  8. Doubles, mocks i stubs.
  9. Praca z Legacy Code (zastanym kodem, kodem niepokrytym testami).

RSpec

There are only two types of theories [programms]:

  1. Theories that are known to be wrong, as they were tested and adequately rejected.
  2. Theories that have not yet been known to be wrong, not falsified yet, but are exposed to be wrong.
    K. Popper
    Why is the theory [program] never right?
  1. David Chelimsky, Dave Astels, Zach Dennis, Aslak Hellesøy, Bryan Helmkamp, Dan North. The RSpec Book: Behaviour-Driven Development with RSpec, Cucumber, and Friends.
  2. Better Specs.
  3. Dokumentacja RSpec:

Ruby

  1. Ruby Tutorial.
  2. Ruby Koans – Learn Ruby with the Neo Ruby Koans.
  3. Jay Fields, Shane Harvie, Martin Fowler with Kent Beck. Refactoring – Ruby edition.
  4. Ruby Style Guide – a community-driven Ruby coding style guide

Git

Continuous Integration and Deployment

  1. Codeship.
  2. Travis – niestety usługa płatna dla repozytoriów prywatnych.