Skip to content

Latest commit

 

History

History
106 lines (86 loc) · 3.45 KB

README.md

File metadata and controls

106 lines (86 loc) · 3.45 KB

Testowanie aplikacji w Ruby, 2015/16

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?

refactoring

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

RSpec

  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. Dokumentacja RSpec:

Ruby

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

Git

Atom

Większe literki dla UI:

@ui-font-size: 16px;

atom-pane {
  font-size: @ui-font-size;
}
linter-message {
  font-size: @ui-font-size;
}

.overlay .select-list ol.list-group li,
.overlay.select-list ol.list-group li {
  font-size: @ui-font-size;
}
.status-bar {
  font-size: @ui-font-size;
  height: @ui-font-size * 2;
  line-height: @ui-font-size * 2 - 4;
}
.tab-bar .tab, .tab-bar .tab.active {
  font-size: @ui-font-size;
  height: @ui-font-size * 2;
}
.tree-view {
  font-size: @ui-font-size;
}
.settings-view {
  font-size: @ui-font-size;
}

Continuous Integration and Deployment

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

Różne rzeczy

  1. Codility – we test coders