InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards. Learn more →
Top 23 Ruby Testing Projects
-
faker
A library for generating fake data such as names, addresses, and phone numbers. (by faker-ruby)
Project mention: Faker – generate fake data such as names, addresses, and phone numbers | news.ycombinator.com | 2024-04-13 -
Scout Monitoring
Performance metrics and, now, Logs Management Monitoring with Scout Monitoring. Get early access to Scout Monitoring's NEW Ruby logging feature [beta] by signing up now. Start for free and enable logs to get better insights into your Rails apps.
-
Project mention: Collecting JavaScript code coverage with Capybara in Ruby on Rails application | dev.to | 2024-05-14
For example, there is a Ruby on Rails application that uses Webpacker and has JavaScript files that are covered by the system tests. Capybara is used as the system testing tool.
-
Project mention: Show HN: Factory-JS – TypeScript dummy object generator for testing | news.ycombinator.com | 2024-03-29
I made Factory-js inspired by factory-bot (https://github.com/thoughtbot/factory_bot), supports Prisma and Drizzle ORM and more. TypeScript is now widely used in both backend and frontend, but there is no de facto standard factory library. I'm developing a web application using Prisma, trpc, and nextjs, but I was struggling with how to write more beautiful and readable back-end tests. That's why I made factory-js.
-
vcr
Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
Project mention: Ruby VCR: Record test HTTP interactions and replay them | news.ycombinator.com | 2024-05-16 -
-
According to the shoulda-matchers documentation:
-
-
InfluxDB
Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
-
timecop
A gem providing "time travel", "time freezing", and "time acceleration" capabilities, making it simple to test time-dependent code. It provides a unified method to mock Time.now, Date.today, and DateTime.now in a single call.
Project mention: About time: how to unit test code that depends on time | news.ycombinator.com | 2023-12-19The Ruby equivalent is Timecop
https://github.com/travisjeffery/timecop
Dynamic languages have the advantage to be able to rewrite the standard library classes at runtime.
-
minitest
minitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, and benchmarking.
Project mention: Is the VCR plugged in? Common Sense Troubleshooting For Web Devs | dev.to | 2024-07-105. Automated Tests: Unit tests are automated tests that verify the behavior of a small unit of code in isolation. I like to write unit tests for every bug reported by a user. This way, I can reproduce the bug in a controlled environment and verify that the fix works as expected and that we wont see a regression. There are many different JavaScript test frameworks like Jest, cypress, mocha, and jasmine. We use Rspec and Minitest for unit and integration tests in our rails application.
-
Database Cleaner
Strategies for cleaning databases in Ruby. Can be used to ensure a clean state for testing.
-
-
-
-
-
test-kitchen
Test Kitchen is an integration tool for developing and testing infrastructure code and software on isolated target platforms
-
https://github.com/test-prof/test-prof Test-prof gem
-
-
-
-
Spork
A DRb server for testing frameworks (RSpec / Cucumber currently) that forks before each run to ensure a clean testing state.
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Ruby Testing discussion
Ruby Testing related posts
-
Stress Testing Your Rails Application Using JMeter
-
Base test profiling inside docker with test-prof
-
Show HN: PBT – A property-based testing library for Ruby
-
A collection of different tools to analyze your Ruby test suite performance
-
How I stopped RSpec from spiking to 2x runtime
-
Ruby VCR: Record test HTTP interactions and replay them
-
Collecting JavaScript code coverage with Capybara in Ruby on Rails application
-
A note from our sponsor - InfluxDB
www.influxdata.com | 20 Sep 2024
Index
What are some of the best open-source Testing projects in Ruby? This list will help you:
Project | Stars | |
---|---|---|
1 | faker | 11,228 |
2 | Capybara | 10,008 |
3 | factory_bot | 7,903 |
4 | vcr | 5,824 |
5 | WebMock | 3,957 |
6 | shoulda-matchers | 3,504 |
7 | Parallel Tests | 3,375 |
8 | timecop | 3,362 |
9 | minitest | 3,286 |
10 | Database Cleaner | 2,929 |
11 | RSpec | 2,862 |
12 | inspec | 2,850 |
13 | Spring | 2,803 |
14 | mutant | 1,944 |
15 | test-kitchen | 1,869 |
16 | Ruby Tests Profiling Toolbox | 1,865 |
17 | DuckRails | 1,720 |
18 | ffaker | 1,553 |
19 | Watir | 1,520 |
20 | Spork | 1,400 |
21 | Appraisal | 1,256 |
22 | cuprite | 1,235 |
23 | mocha | 1,217 |