#Testing
monkey-patching
monkey-patching It replacement of attributes, methods of classes in runtime It replacement of … Read more
Test Driven Development
Test Driven Development The concept of testing that can be describes by idea “tests … Read more
Test Runner
Test Runner Test Runner is a program that runs tests Required features: Run tests in parallel … Read more
(Anti-)fragility in testing
(Anti-)fragility in testing Test is anti fragile if module’s test is green after refactoring … Read more
Arrange-Act-Assert
Arrange-Act-Assert AAA is a pattern for structure Unit test Follow the AAA Arrange in unit test Act … Read more
Test Doubles
Test Doubles Dummy (Dummy Object) doesn’t have any data inside can be empty object {} just … Read more
End-to-End tests
End-to-End tests End-to-End (e2e) tests are tests that emulate user’s behaviour. Basically, … Read more
Integration tests
Integration tests Integration tests are tests that check behavior of group of modules Read more
Pyramid of testing
Pyramid of testing Types of testing (from less to more): e2e End-to-End tests e2e should be less … Read more
Unit tests
Unit tests Unit tests are tests of modularity They test specific part/piece of the system (called … Read more