---
title: "Discussion on \"Testing ViewComponent w/ Capybara\" | Hashnode"
description: "Discussion on \"Testing ViewComponent w/ Capybara\". Learn how to test ViewComponent with Capybara, including custom assertions and detailed explanations using the Trix Editor as an example."
url: "https://hashnode.com/posts/testing-viewcomponent-w-capybara/66bb3cd1059715fe84c3e5a9"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Testing ViewComponent w/ Capybara](https://alvincrespo.hashnode.dev/testing-viewcomponent-w-capybara?utm_source=hashnode&utm_medium=feed)

Learn how to test ViewComponent with Capybara, including custom assertions and detailed explanations using the Trix Editor as an example.

Aug 13, 2024 · 6 min read · alvincrespo.hashnode.dev  
Read the article

-   [#trix-editor](https://hashnode.com/tag/trix-editor)
-   [#ruby-on-rails](https://hashnode.com/tag/ruby-on-rails)
-   [#viewcomponent](https://hashnode.com/tag/viewcomponent)
-   [#capybara](https://hashnode.com/tag/capybara)
-   [#integration-testing](https://hashnode.com/tag/integration-testing)
-   [#testing](https://hashnode.com/tag/testing)
-   [#trix](https://hashnode.com/tag/trix)

## Written by

[Alvin Crespo](https://hashnode.com/@alvincrespo)

@alvincrespo · Massachusetts

  
[View profile](https://hashnode.com/@alvincrespo)

Engineering Leader @ IQVIA | Mentoring Remote Teams to Excellence | Full-Stack Platform Architect

Hi, I’m Alvin! I write about tech, and love sharing what I learn. If you have any questions or suggestions, please reach out - I'm always up for a quick chat.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
