Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today. Learn more →
Capybara Alternatives
Similar projects and alternatives to Capybara
-
Playwright
Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
-
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
-
-
-
-
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-
-
stimulus-use
A collection of composable behaviors for your Stimulus Controllers
-
-
view_component
A framework for building reusable, testable & encapsulated view components in Ruby on Rails.
-
curl-impersonate
curl-impersonate: A special build of curl that can impersonate Chrome & Firefox
-
-
Ramaze
Ramaze is a simple, light and modular open-source web application framework written in Ruby.
-
NYNY (New York, New York)
a (ridiculously) small and powerful web framework.
-
-
-
-
Simple Form
Forms made easy for Rails! It's tied to a simple DSL, with no opinion on markup.
-
RailsAdmin
RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Capybara reviews and mentions
-
Minitest vs. RSpec in Rails
Since the Capybara library drives the underlying tests, Minitest also has the same syntax.
- Is it a common practice to test JS code in a browser instead of Node.js?
-
From partials to ViewComponents: writing reusable front-end code in Rails
The nice thing about partial templates is that templates are unit-testable with View specs (or similarly in Minitest) and the rendered output can even be verified using Capybara matchers.
-
Tip: if you're changing all your form_for to form_with, take the opportunity to make sure all forms are being tested.
To piggyback: This would be a type of browser test, so you would want to use something like Cypress (https://github.com/testdouble/cypress-rails) or Capybara (https://github.com/teamcapybara/capybara). RSpec has a good integration with Capybara. Cypress is JS-based so it will require some additional config.
- How to use undocumented web APIs
- Don't make me think, or why I switched to Rails from JavaScript SPAs
-
The Benefits of Acceptance Testing
For instance, the acceptance test above requires a log in routine. Here's where the expressive power of a DSL like Capybara manifests:
-
Capybara VS cuprite - a user suggested alternative
2 projects | 7 Oct 2021
-
Migrating Selenium system tests to Cuprite
In our project, we’ve been running system tests (then called rather "Feature tests") since around 2016. System tests use a real browser in the background and test all layers of a Rails application at once: from the database all the way up to the nuances of JavaScript loaded together with the web pages. Back then, we wrote our system tests using Capybara with Poltergeist, a driver that ran a headless Phantom JS browser. Since this browser stopped being actively developed, we migrated our test suite to the Selenium / Webdriver wrapper around Chrome browser around ~2018. Chrome was itself fine for tests automation but the Selenium API was quite limited and we had to rewrite several Poltergeist features using 3rd party gems and tools.
- System testing for Rails application without Capybara, using Puppeteer
-
A note from our sponsor - SonarLint
www.sonarlint.org | 30 Jan 2023
Stats
teamcapybara/capybara is an open source project licensed under MIT License which is an OSI approved license.