Skip to content

A Rails 5 app showing Coverband installation, configuration, usage, latest features

License

Notifications You must be signed in to change notification settings

coverband-service/coverband_demo

Repository files navigation

Coverband Demo

This is a Rails 5 application to demo how to use Coverband and the features it offers.

Visit the live demo site https://coverband-demo.herokuapp.com/

Heroku Deployment

The demo site is hosted on Heroku.

Running with JRuby

This application runs both with CRuby (MRI) or JRuby. If you want to run via JRuby you can either update the .ruby-version to have jruby... Or you can one off switch over.

rvm use jruby
bundle install
bundle exec rails s

Theme

The initial design off the demo site was pulled from a demo'ed theme, a Material Design Bootstrap 4 Theme.

TODO

  • more realistic Rails usage: - perhaps add something to help market coverband like show tweets - showcase different collection methods - thinking I could use it to demo the code observability concept via an API with document storage to attach arbitrary data to lines of code.
  • add deploy to Heroku button support
  • API to collect arbitrary line usage
  • API to collect perf data across CI runs
    • client would post data on each benchmark run
      • ruby_version, branch or PR name, benchmark_name, calculations -> {data_point_name, i/s, total iterations, total time}, Comparison -> {data_point_name, i/s, diff calculation, note}
  • a way to toggle modes?
    • oneshot, simulated, or regular
  • investigate issues with runtime data vs load data when running heroku run --app coverband-demo rake posts_cleanup (note: COVERBAND_DISABLE_AT_EXIT fixes but then doesn't track rake, hmm not entirely true, not clear)

About

A Rails 5 app showing Coverband installation, configuration, usage, latest features

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •