New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

opal-minitest

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opal-minitest

0.0.5
Rubygems
Version published
Maintainers
1
Created
Source

opal-minitest

Minitest, now for Opal!

Usage

First, add the opal-minitest gem to a project's Gemfile.

# Gemfile
gem 'opal-minitest'

$ bundle install

Include the Rake task in a Rakefile, then run rake to run the project's tests.

# Rakefile
require 'opal/minitest/rake_task'
Opal::Minitest::RakeTask.new

$ bundle exec rake

This will run all Ruby/Opal files ending in _test in the test/ directory, after an optional test_helper file. Try the example!

Status

Opal Minitest can do everything regular Minitest can, except parallel running, plugins, CLI options, and #capture_subprocess_io.

All code differences from regular Minitest are documented with the label PORT.

FAQs

Package last updated on 18 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts