Skip to content

Add api testing lesson. #24492

@linkonsat

Description

@linkonsat

Description
Currently, the RoR path does not have any testing lessons for Rails. This issue aims to resolve by adding a new lesson for API testing within a new testing section in the Ruby on Rails curriculum. There are many useful resources that go over system testing and you can find this within Rails guides here and by googling resources on it. This lesson should follow the style guide.

part of #214 in top meta

Acceptance Criteria

Important points to hit

  • An explanation of why API testing is important.
  • An explanation of integration testing.
  • Why Integration testing is important.
  • What is VCR.
  • How to use VCR for testing.

Additional Information

The VCR github repo has useful information https://github.com/vcr/vcr as well as the Ruby on Rails guides for integration testing https://guides.rubyonrails.org/v5.1/testing.html#integration-testing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content: Ruby on RailsInvolves the Ruby on Rails courseStatus: Help WantedThis issue can be assigned to other contributorsStatus: StaleThis issue/PR has been inactive for over 30 days and will be closed if inactivity continues

    Type

    No type

    Projects

    Status

    🔖 Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions