Testing

Ruby on Rails 4.2    |    Intermediate
  • 18 videos | 1h 38m 50s
  • Earns a Badge
Rating 3.4 of 7 users Rating 3.4 of 7 users (7)
As with any development project, testing is required to ensure the application performs as expected. Learn how to test the various components of a Rails application, and examine some tools available to help make testing easier

WHAT YOU WILL LEARN

  • Configure rspec
    Run tests
    Use factory girl
    Unit test models
    Use rspec mocking and stubbing facilities
    Test validations
    Use matchers to work with classes that implement module enumerable
    Write functional controller tests
    Test views
  • Test helpers
    Test integrations
    Use shared_examples
    Write tests for active jobs
    Test mailers
    Use vcr to record http integrations
    Use guard to automatically run tests
    Generate performance tests
    Create tests for a user model

IN THIS COURSE

  • 4m 52s
    In this video, you will learn how to configure RSpec. FREE ACCESS
  • 1m 49s
    In this video, you will learn how to run tests. FREE ACCESS
  • Locked
    3.  Using Factory Girl
    6m 44s
    This video will teach you how to use Factory Girl. FREE ACCESS
  • Locked
    4.  Performing Unit Testing
    6m 54s
    In this video, you will learn how to unit test models. FREE ACCESS
  • Locked
    5.  Using RSpec Mocks and Stubs
    5m 47s
    In this video, you will use RSpec's mocking and stubbing facilities. FREE ACCESS
  • Locked
    6.  Testing Validations
    3m 45s
    Learn how to test validation. FREE ACCESS
  • Locked
    7.  Using Matchers with RSpec
    4m 32s
    In this video, you will use matchers to work with classes that implement the Enumerable module. FREE ACCESS
  • Locked
    8.  Testing Controllers
    7m 20s
    Learn how to write tests for controllers that work as intended. FREE ACCESS
  • Locked
    9.  Testing Views
    5m 53s
    In this video, you will learn how to test views. FREE ACCESS
  • Locked
    10.  Testing Helpers
    6m 27s
    In this video, learn how to test your helpers. FREE ACCESS
  • Locked
    11.  Testing Integrations
    6m 25s
    During this video, you will learn how to test integrations. FREE ACCESS
  • Locked
    12.  Using Shared_examples
    5m 21s
    Learn how to use shared examples. FREE ACCESS
  • Locked
    13.  Writing Tests for Active Jobs
    5m 33s
    Find out how to write tests for active jobs. FREE ACCESS
  • Locked
    14.  Testing Mailers
    4m 15s
    In this video, you will test mailers. FREE ACCESS
  • Locked
    15.  Using VCR
    5m 58s
    In this video, you will use a VCR to record HTTP integrations. FREE ACCESS
  • Locked
    16.  Using Guard
    2m 54s
    In this video, you will learn how to use guard to automatically run tests. FREE ACCESS
  • Locked
    17.  Generating Performance Tests
    2m 41s
    Learn how to create performance tests. FREE ACCESS
  • Locked
    18.  Exercise: Creating Tests for a User Model
    11m 41s
    In this video, learn how to create tests for a user model. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.4 of 47 users Rating 4.4 of 47 users (47)
Rating 4.4 of 347 users Rating 4.4 of 347 users (347)
Rating 4.3 of 36 users Rating 4.3 of 36 users (36)