# Minitest Rails > Comprehensive guide to testing Rails applications using Minitest Free guide to testing Rails applications with Minitest (Rails default): models, integration tests, system tests, fixtures, auth, mailers, jobs, and CI. ## Start here - [Start here](https://minitestrails.com/tutorial/): Three steps to your first green test. ## Guide - [Introduction to Minitest Rails testing guide](https://minitestrails.com/guide/introduction/): Who this free Minitest Rails guide is for, and how it teaches Rails testing while sticking to the Rails defaults. - [Setting up Minitest in Rails](https://minitestrails.com/guide/setting-up-minitest/): Generate a Rails app with Minitest, enable system tests after Rails 8 defaults, and get a green suite with Capybara. - [Types of tests in Rails](https://minitestrails.com/guide/kinds-of-rails-tests/): How model, controller, integration, and system tests fit together in Minitest, and when to pick each. - [Testing tools for Minitest in Rails](https://minitestrails.com/guide/testing-tools/): Minitest, fixtures, Capybara, and when WebMock or VCR earns a place in a Rails test suite. - [How to approach testing](https://minitestrails.com/guide/how-to-approach-testing/): Write scenarios in plain language, practice manual checks, and build a habit before you automate with Minitest. - [Your first test](https://minitestrails.com/guide/your-first-test/): Write your first Rails Minitest model test, integration tests for list and create, and one system smoke test. - [Rails fixtures for Minitest](https://minitestrails.com/guide/test-data-fixtures/): Use YAML fixtures in Rails so Minitest suites start from predictable data instead of random setup. - [Testing CRUD with system tests in Rails](https://minitestrails.com/guide/testing-simple-crud-system-tests/): Drive list, show, create, update, and delete in the browser with Capybara, and keep integration tests for update and destroy. - [Testing Rails models with Minitest](https://minitestrails.com/guide/testing-models/): Test validations, scopes, and model methods in Minitest, and know what belongs in a model test. - [Testing nested resources and associations in Rails](https://minitestrails.com/guide/second-resource-and-associations/): Test nested resources, associations, and nested forms over HTTP with Minitest. - [Testing dynamic forms in Rails](https://minitestrails.com/guide/testing-dynamic-forms/): Test Stimulus-powered nested form fields in Rails with system and integration tests. - [Testing Turbo Frames and Streams](https://minitestrails.com/guide/testing-turbo-frames-and-streams/): Test Turbo Frames and Streams in Rails with Minitest by asserting outcomes, not Turbo markup. - [Testing authentication in Rails](https://minitestrails.com/guide/testing-authentication/): Test Rails 8 built-in authentication with Minitest: sign in, sign out, guest read-only access, and password reset. - [Authorization testing in Rails](https://minitestrails.com/guide/authorization-testing/): Test ownership and authorization in Rails with Minitest: who can edit, and who gets redirected. - [Testing mailers in Rails](https://minitestrails.com/guide/testing-mailers/): Test Action Mailer with Minitest: share URL by email, content assertions, previews, and letter_opener. - [Testing background jobs in Rails](https://minitestrails.com/guide/testing-background-jobs/): Test Active Job in Minitest: deliver_later for emails and enqueue long running background jobs with active_job. - [Testing JSON APIs in Rails](https://minitestrails.com/guide/testing-api/): Test Rails JSON APIs with Minitest: versioned /api/v1 routes, Bearer tokens, CRUD, share email, export, authorization, and manual verification with curl. ## Blog - [How to Test User Registration with Minitest Rails](https://minitestrails.com/blog/testing-user-registration-rails-minitest/): Test user sign-up in Rails with Minitest: model validations, integration coverage for valid and invalid registration, with a system smoke test for the happy path. - [How to Test Rails Built-in Authentication with Minitest](https://minitestrails.com/blog/testing-rails-8-authentication-minitest/): Test Rails built-in authentication in Minitest: session fixtures, sign_in_as helpers, protected route integration tests, and system tests for sign-in and protected controllers. - [How to Test File Uploads with Minitest Rails](https://minitestrails.com/blog/testing-file-uploads-rails-minitest/): Test Active Storage uploads in Rails with Minitest: fixture files, model attach, integration multipart posts, and optional system tests. No real S3 in CI. - [Announcing Chapter Zero, an open-source starter for technical guides](https://minitestrails.com/blog/announcing-chapter-zero/): Chapter Zero is the Bridgetown layout behind Minitest Rails, now open source. Guides, landing pages, blog, OG images, and marketing components, ready to fork. - [How to Test Auth0 Login in Rails with Minitest](https://minitestrails.com/blog/testing-auth0-login-rails-minitest/): Test Auth0 OAuth callbacks, sessions, and protected routes in Rails without hitting Auth0 in CI. OmniAuth test mode, integration tests, and Minitest helpers. ## Agent Skill (Minitest testing) A Minitest testing skill for AI agents is coming soon. ## Full documentation - [Complete guide text](https://minitestrails.com/llms-full.txt): All published chapters and blog posts in one Markdown file. ## Markdown mirrors Section indexes: `https://minitestrails.com/tutorial.md`, `https://minitestrails.com/guide.md`, `https://minitestrails.com/blog.md`, `https://minitestrails.com/index.md`. Append `.md` to any chapter or post URL (for example `https://minitestrails.com/guide/introduction.md`).