The project is in a healthy, maintained state
HTML Tailwind Design View of Simplecov as a formatterthat is clean, easy to read.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Runtime

~> 0.16
 Project Readme

Simplecov Tailwind

GitHub Workflow Status Tests GitHub Workflow Status Builds GitHub Workflow Status Lints GitHub tag (latest by date) Gem Discord

Note: To learn more about SimpleCov, check out the main repo at https://github.com/colszowka/simplecov

Generates a HTML Tailwind Design report generated from Simplecov using ruby 2.5 or greater.

Installing

Add the below to your Gemfile to make Simplecov Material available as a formatter for your application.

Ruby Gems Host

# ./Gemfile

group :test do
  gem 'simplecov', require: false
  gem 'simplecov-tailwindcss', require: false
end

Github Rubygems Host

# ./Gemfile

group :test do
  gem "simplecov", require: false
end

source "https://rubygems.pkg.github.com/chiefpansancolt"
  group :test do
    gem "simplecov-tailwindcss", require: false
  end
end

Usage

To use Simplecov Tailwind you will need to ensure your Formatter is set to use Simplecov Tailwind.

In your helper ensure your line about formatter usage is one of the following.

Ensure to add the require tag at the top of your helper class where Simplecov is configured

require 'simplecov-tailwindcss'

Single Formatter Usage:

SimpleCov.formatter = SimpleCov::Formatter::TailwindFormatter

Multi Formatter Usage:

SimpleCov.formatters =
  SimpleCov::Formatter::MultiFormatter.new(
    [SimpleCov::Formatter::HTMLFormatter, SimpleCov::Formatter::TailwindFormatter],
  )

Change Log

Check out the Change Log for new breaking changes/features/bug fixes per release of a new version.

Contributing

Bug Reports, Feature Requests, and Pull Requests are welcome on GitHub at https://github.com/chiefpansancolt/simplecov-tailwindcss. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

To see more about Contributing check out this document.

  • Fork Repo and create new branch
  • Once all is changed and committed create a pull request.

Ensure all merge conflicts are fixed and CI is passing.

Development

After checking out the repo, run bin/setup to install dependencies. Then, run yarn test to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

When working with CSS or JS ensure to run yarn build to compile tailwind and JS to the public folder. This will ensure you have the latest CSS and JS used when testing locally.

NOTE: Do not commit any changes made in public folder from compiling as this will be performed by the owner before building of a release.

To test locally run yarn test and a webpage will open after tests are complete and you will be able to see the page.

To install this gem onto your local machine, run yarn gem:build. Gems will be built/release by Owner.

License

Simplecov Tailwind is available as open source under the terms of the MIT License.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Christopher Pezza

💻 📖 🔧 ⚠️ 🚧

This project follows the all-contributors specification. Contributions of any kind welcome!