Episodes

Testing

Automated testing is an important part of maintaining applications.
  • 2hr 1min
  • 9 Episodes
  • 2hr 1min Remaining
2hr 1min Remaining
  1. Basic Testing Introduction in Rails
    Play
    13:29

    #100 Oct 8, 2017

    Using the Rails 5.1.X defaults, we have a look at what is configured and explore the different types of tests; using the provided MiniTest and Capybara.
    • 13min
    • 33
    • 6

  2. Testing with RSpec
    Play
    13:04

    #101 Oct 15, 2017

    Using RSpec, learn how to create tests for your application and view your coverage.
    • 13min
    • 35
    • 7

  3. Minitest and Test Driven Development
    Play
    23:58

    #221 Dec 22, 2019

    We continue from Episode 220 and add additional features and write tests for existing code. We look at introduced bugs and how test driven development can help to not only fix the bugs, but strengthen our test suite.
    • 23min
    • 15
    • 4

  4. Speeding Up Tests
    Play
    4:54

    #104 Nov 5, 2017

    Slow tests can slow down your development process. Using parallel_tests, you can speed up your test suite by multiple threads and running the tests in groups.
    • 4min
    • 17
    • 1

  5. Sample Data with Factory Bot and Faker
    Play
    8:07

    #103 Oct 29, 2017

    Factory Bot is a fixtures replacement which can generate the needed records directly in the tests. Faker can be used to create fake data for these records.
    • 8min
    • 22
    • 0

  6. Feature Testing with Capybara
    Play
    14:40

    #102 Oct 22, 2017

    Create Acceptance Tests or Feature Tests to extend your automated tests with browser testing. It can help tests some areas that cannot be reached with other types of tests.
    • 14min
    • 28
    • 7

  7. Load Testing with JMeter
    Play
    16:15

    #184 Apr 21, 2019

    Load Testing is an important aspect of due diligence when hosting a production application. It can also help uncover infrastructure requirements and server costs.
    • 16min
    • 6
    • 3

  8. Testing View Components
    Play
    9:51

    #293 Apr 25, 2021

    View Components allow testing the rendered views much easier.
    • 9min
    • 6
    • 1

  9. Testing Stripe Payments
    Play
    17:12

    #261 Sep 27, 2020

    Continuing from the previous episode, we add testing to the Stripe Payments without adding any additional dependencies.
    • 17min
    • 7
    • 2