spectator
Feature-rich testing framework for Crystal inspired by RSpec. (by icy-arctic-fox)
ruby_crystal_codemod
A codemod / transpiler that can help you convert Ruby into Crystal (by DocSpring)
spectator | ruby_crystal_codemod | |
---|---|---|
1 | 1 | |
101 | 43 | |
- | - | |
5.5 | 3.2 | |
about 1 month ago | 5 months ago | |
Crystal | Ruby | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
spectator
Posts with mentions or reviews of spectator.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-01.
-
What are the downsides of Ruby ?
In that situation, if there was a performance critical component we wanted to optimize by rewriting in Crystal, we would first extract it into its own app or worker (aka breakup the monolith, aka micro-services). Additional apps could have requests routed to them via a reverse proxy or they could be internal HTTP-endpoints. Then we would port that code to Crystal, replacing gem dependencies with Crystal shards equivalents (which there are many, and more are being added everyday), and then running the Ruby code through rubycodemod_crystal which changes minor things (ex: include? -> includes? or require 'foo' -> require "foo"). Assuming this component has RSpec tests, I would convert them to Spectator which is a Crystal clone of RSpec. Then I would tighten up the Crystal code by adding explicit Types to all instance variables and method signatures, so the compiler doesn't have to infer the types. This is basically the same process I have done when porting some of my own Ruby libraries to Crystal.
ruby_crystal_codemod
Posts with mentions or reviews of ruby_crystal_codemod.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-01.
-
What are the downsides of Ruby ?
In that situation, if there was a performance critical component we wanted to optimize by rewriting in Crystal, we would first extract it into its own app or worker (aka breakup the monolith, aka micro-services). Additional apps could have requests routed to them via a reverse proxy or they could be internal HTTP-endpoints. Then we would port that code to Crystal, replacing gem dependencies with Crystal shards equivalents (which there are many, and more are being added everyday), and then running the Ruby code through rubycodemod_crystal which changes minor things (ex: include? -> includes? or require 'foo' -> require "foo"). Assuming this component has RSpec tests, I would convert them to Spectator which is a Crystal clone of RSpec. Then I would tighten up the Crystal code by adding explicit Types to all instance variables and method signatures, so the compiler doesn't have to infer the types. This is basically the same process I have done when porting some of my own Ruby libraries to Crystal.
What are some alternatives?
When comparing spectator and ruby_crystal_codemod you can also consider the following projects:
selenium.cr - Selenium library for Crystal
crystal - The Crystal Programming Language
scar - A game engine written in Crystal using crsfml
spec - Common/helpful Spec compliant testing utilities
spec-kemal - Easy testing for Kemal
minitest.cr - Test Unit for the Crystal programming language
coverage - Coverage tool for Crystal lang