minitest.cr

Test Unit for the Crystal programming language (by ysbaddaden)

Minitest.cr Alternatives

Similar projects and alternatives to minitest.cr

  1. crystal

    247 minitest.cr VS crystal

    The Crystal Programming Language

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. marten

    The pragmatic web framework. (by martenframework)

  4. crotest

    A tiny and simple test framework for crystal

  5. timecop.cr

    Mock with `Time.now` with the power of time travel, time freeze and time scale.

  6. power_assert.cr

    PowerAssert provides the more powerful assertion to you.

  7. crytic

    Mutation testing for crystal.

  8. crystal4noobs

    Tutorial para iniciantes em Crystal! 💎

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. LuckyFlow

    Automated browser tests for web applications. Similar to Ruby's Capybara.

  11. spec

    Common/helpful Spec compliant testing utilities (by athena-framework)

  12. shards

    3 minitest.cr VS shards

    Dependency manager for the Crystal language

  13. mass-spec

    Web API testing library

  14. spec2.cr

    Enhanced `spec` testing library for [Crystal](http://crystal-lang.org/).

  15. microtest

    Small test framework, because it has power asserts as the only assertion.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better minitest.cr alternative or higher similarity.

minitest.cr discussion

Log in or Post with

minitest.cr reviews and mentions

Posts with mentions or reviews of minitest.cr. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-01-07.
  • Make Marten Web Framework work with minitest.cr
    2 projects | dev.to | 7 Jan 2025
    ENV["MARTEN_ENV"] = "test" require "minitest/autorun" require "marten" require "marten/cli" # Only require those to avoid running Crystal Spec in parallel with minitest require "marten/spec/ext/db/statement" require "marten/spec/client" # Copy from https://github.com/martenframework/marten/blob/main/src/marten/spec.cr module Marten module Spec @@client : Marten::Spec::Client? def self.clear_client : Nil @@client = nil end def self.clear_collected_emails : Nil Marten::Emailing::Backend::Development.delivered_emails.clear end def self.delivered_emails : Array(Emailing::Email) Marten::Emailing::Backend::Development.delivered_emails end def self.client @@client ||= Marten::Spec::Client.new end def self.flush_databases Marten::DB::Connection.registry.values.each do |conn| Marten::DB::Management::SchemaEditor.run_for(conn) do |schema_editor| schema_editor.flush_model_tables end end end def self.setup_databases Marten::DB::Connection.registry.values.each do |conn| if !conn.test_database? raise "No test database name is explicitly defined for database connection '#{conn.alias}', cancelling..." end Marten::DB::Management::SchemaEditor.run_for(conn) do |schema_editor| schema_editor.sync_models end end end end end # Hooks https://github.com/ysbaddaden/minitest.cr/blob/bfc73a6196129e59b6c05d49d69e542f83a5939f/src/test.cr#L24 class Minitest::Test def before_setup # Register applications only once Marten.setup if Marten.apps.app_configs.empty? Marten::Spec.setup_databases end def after_teardown Marten::Spec.flush_databases Marten::Spec.clear_collected_emails Marten::Spec.clear_client DB::Statement.reset_query_count end end require "../src/project"
  • Por que você deveria aprender Crystal?
    4 projects | dev.to | 18 Apr 2023
    name: shards version: 0.1.0 dependencies: openssl: github: datanoise/openssl.cr branch: master development_dependencies: minitest: git: https://github.com/ysbaddaden/minitest.cr.git version: ~> 0.3.1 license: MIT

Stats

Basic minitest.cr repo stats
2
147
4.8
5 days ago

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

Did you know that Crystal is
the 69th most popular programming language
based on number of references?