Crystal Testing

Open-source Crystal projects categorized as Testing

Top 21 Crystal Testing Projects

  • GitHub repo marionette

    Selenium alternative for Crystal. Browser manipulation without the Java overhead.

    Project mention: Headless Browsers | reddit.com/r/crystal_programming | 2021-02-14
  • GitHub repo minitest.cr

    Test Unit for the Crystal programming language

  • GitHub repo spec2.cr

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

  • GitHub repo webmock.cr

    Mock HTTP::Client

  • GitHub repo crytic

    Mutation testing for crystal.

  • GitHub repo mocks.cr

    General purpose mocking library for Crystal.

  • GitHub repo vcr

    VCR for Crystal!

  • GitHub repo spec-kemal

    Easy testing for Kemal

  • GitHub repo coverage

    Coverage tool for Crystal lang

  • GitHub repo LuckyFlow

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

  • GitHub repo power_assert.cr

    PowerAssert provides the more powerful assertion to you.

  • GitHub repo microtest

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

  • GitHub repo crotest

    A tiny and simple test framework for crystal

  • GitHub repo timecop.cr

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

  • GitHub repo mock

    Doubles (stubs and mocks) library for Crystal, inspired by the API of rspec-mocks (by porras)

  • GitHub repo selenium.cr

    Selenium library for Crystal

  • GitHub repo spec2-mocks

    This library connects spec2.cr and mocks.cr, effectively enabling 'have_received' expectation for spec2.

  • GitHub repo mass-spec

    Web API testing library

  • GitHub repo webdriver_pump

    Page Object Model library for Crystal. A port (kind of) of Ruby's WatirPump

  • GitHub repo matchi

    Collection of expectation matchers.

  • GitHub repo spec

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

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-02-14.

Index

What are some of the best open-source Testing projects in Crystal? This list will help you:

Project Stars
1 marionette 132
2 minitest.cr 131
3 spec2.cr 101
4 webmock.cr 97
5 crytic 51
6 mocks.cr 49
7 vcr 48
8 spec-kemal 48
9 coverage 48
10 LuckyFlow 48
11 power_assert.cr 38
12 microtest 24
13 crotest 23
14 timecop.cr 18
15 mock 13
16 selenium.cr 11
17 spec2-mocks 9
18 mass-spec 6
19 webdriver_pump 2
20 matchi 0
21 spec 0