Testing

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

    #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 CC

    #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 CC

    #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 CC

    #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 CC

    #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
    • 23
    • 0

  6. Feature Testing with Capybara
    Play
    14:40 CC

    #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. System Tests
    Play
    19:20 CC

    #417 Sep 3, 2023

    In this episode, we look at adding system tests in our application to test our Stimulus Controllers. We'll also look at how to DRY up some of the tests and how to run them in a headless environment.
    • 19min
    • 5
    • 1

  8. Load Testing with JMeter
    Play
    16:15 CC

    #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

  9. Testing View Components
    Play
    9:51 CC

    #293 Apr 25, 2021

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

  10. Testing Stripe Payments
    Play
    17:12 CC

    #261 Sep 27, 2020

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