base32h-tests
Base32H Test Suite (by Base32H)
base32h.rb
Base32H encoder/decoder in Ruby (by Base32H)
base32h-tests | base32h.rb | |
---|---|---|
1 | 1 | |
1 | 1 | |
- | - | |
10.0 | 10.0 | |
over 3 years ago | over 3 years ago | |
Ruby | ||
GNU General Public License v3.0 or later | ISC 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.
base32h-tests
Posts with mentions or reviews of base32h-tests.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-01.
-
Prefer table driven tests (2019)
I'm fond of taking this a step further and actually offloading the test cases to a separate language-agnostic file, then have implementations' test harnesses read cases from that file. The Ruby gem for Base32H¹ does exactly this to test the encoder/decoder logic, pulling the test cases from CSV files in a separate repo² included as a Git submodule. One of these days I need to port the other reference implementations over to using the tests repo, but once that's done I'll be able to update the test cases in one place and they'll automatically work everywhere.
----
¹ https://github.com/Base32H/base32h.rb/tree/master/spec
² https://github.com/Base32H/base32h-tests
base32h.rb
Posts with mentions or reviews of base32h.rb.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-01.
-
Prefer table driven tests (2019)
I'm fond of taking this a step further and actually offloading the test cases to a separate language-agnostic file, then have implementations' test harnesses read cases from that file. The Ruby gem for Base32H¹ does exactly this to test the encoder/decoder logic, pulling the test cases from CSV files in a separate repo² included as a Git submodule. One of these days I need to port the other reference implementations over to using the tests repo, but once that's done I'll be able to update the test cases in one place and they'll automatically work everywhere.
----
¹ https://github.com/Base32H/base32h.rb/tree/master/spec
² https://github.com/Base32H/base32h-tests
What are some alternatives?
When comparing base32h-tests and base32h.rb you can also consider the following projects:
datadriven - Data-Driven Testing for Go
American Fuzzy Lop - american fuzzy lop - a security-oriented fuzzer
rapid - Rapid is a modern Go property-based testing library