GithubHelp home page GithubHelp logo

rspec-autotest's People

Contributors

alindeman avatar dchelimsky avatar grantneufeld avatar jonrowe avatar jperkins avatar myronmarston avatar olleolleolle avatar orien avatar pirj avatar seuros avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rspec-autotest's Issues

Spring support

This is a placeholder as I work through figuring out how to add Spring support to rspec-autotest. If anyone has already figured it out though I'd love some advice.

Can't find executable autotest

Don't know if this is ZenTest issue or respec-autotest integration issue, but on Ubuntu
18.04.3 LTS (Bionic Beaver), using ruby 2.6.6, sinatra 2.0.2, rspec 3.3.0, rspec-autotest 1.0.0, and ZenTest 4.12.0, all bundled with Bundler version 1.17.3, I get the following error when issuing the command bundle exec autotest: /usr/share/rvm/rubies/ruby-2.6.6/lib/ruby/site_ruby/2.6.0/bundler/rubygems_integration.rb:462:in `block in replace_bin_path': can't find executable autotest for gem ZenTest (Gem::Exception)
Any ideas?

Can you cut a 1.0.0 release?

Hey @seuros, I plan to release RSpec 3.0.0 tomorrow. Would be great to have a 1.0.0 release of this gem out by then. Can you take care of that? I can take care of it when I'm doing the other releases but I figure it's best to let you take care of it since you're the maintainer of this now :).

Release version.

Ok this is good to go, travis build is up and running, I've tested it can replace autotest integration against 2.99 and 3.x

So it just needs a final README check over and release. Unless anyone can think of anything else it needs?

/cc @myronmarston @samphippen @soulcutter

Rails Rspec instruction unclear and not working

Description

rspec-autotest version: latest
Rails Version: 5.1.4

I have to update .autotest file to the following, in order to autotest working with Rails:

require "autotest/rails_rspec"

It was not picked up automatically, as stated in the README.md.

No release for commit ref: 93ecc27

Description

Could the distribution of this gem on https://rubygems.org/ be updated?

By using commit 93ecc27 I was able to this gem working properly with Rails 5 and RSpec 3. Using the latest rubygems.org release (1.0.0), I got:

NameError: uninitialized constant ActiveSupport::Autoload
  /bundle/gems/activesupport-5.1.4/lib/active_support/number_helper.rb:3:in `<module:NumberHelper>'
  /bundle/gems/activesupport-5.1.4/lib/active_support/number_helper.rb:2:in `<module:ActiveSupport>'
  /bundle/gems/activesupport-5.1.4/lib/active_support/number_helper.rb:1:in `<top (required)>'
  /bundle/gems/activesupport-5.1.4/lib/active_support/core_ext/numeric/conversions.rb:2:in `require'
  /bundle/gems/activesupport-5.1.4/lib/active_support/core_ext/numeric/conversions.rb:2:in `<top (required)>'
  /bundle/gems/activesupport-5.1.4/lib/active_support/core_ext/numeric.rb:4:in `require'
  /bundle/gems/activesupport-5.1.4/lib/active_support/core_ext/numeric.rb:4:in `<top (required)>'
  /bundle/gems/activesupport-5.1.4/lib/active_support/core_ext.rb:2:in `require'
  /bundle/gems/activesupport-5.1.4/lib/active_support/core_ext.rb:2:in `block in <top (required)>'
  /bundle/gems/activesupport-5.1.4/lib/active_support/core_ext.rb:1:in `each'
  /bundle/gems/activesupport-5.1.4/lib/active_support/core_ext.rb:1:in `<top (required)>'
  /bundle/gems/rspec-autotest-1.0.0/lib/rspec/rails/autotest.rb:25:in `require'
  /bundle/gems/rspec-autotest-1.0.0/lib/rspec/rails/autotest.rb:25:in `<top (required)>'
  /bundle/gems/rspec-autotest-1.0.0/lib/autotest/rails_rspec.rb:1:in `require'
  /bundle/gems/rspec-autotest-1.0.0/lib/autotest/rails_rspec.rb:1:in `<top (required)>'
  /app/.autotest:2:in `require'
  /app/.autotest:2:in `<top (required)>'
  /bundle/gems/ZenTest-4.11.1/lib/autotest.rb:323:in `load'
  /bundle/gems/ZenTest-4.11.1/lib/autotest.rb:323:in `block in initialize'
  /bundle/gems/ZenTest-4.11.1/lib/autotest.rb:322:in `each'
  /bundle/gems/ZenTest-4.11.1/lib/autotest.rb:322:in `initialize'
  /bundle/gems/autotest-rails-4.2.1/lib/autotest/rails.rb:7:in `initialize'
  /bundle/gems/ZenTest-4.11.1/lib/autotest.rb:248:in `new'
  /bundle/gems/ZenTest-4.11.1/lib/autotest.rb:248:in `run'
  /bundle/gems/ZenTest-4.11.1/bin/autotest:6:in `<top (required)>'
  /bundle/bin/autotest:23:in `load'
  /bundle/bin/autotest:23:in `<top (required)>'

Continuously re-runs failing specs

For me, the tool is continuously re-running failing specs (about once per 2 seconds) even if there are no changed files.

Is this how it's supposed to behave, or am I using/configuring it wrong?

Gracias!

ActiveSupport not loading properly/completely

Running with ruby 2.2.0, rails 4.2.0, rspec-rails 3.1.0 (rspec-core 3.1.7), rspec-autotest 1.0.0.

On running autotest, this produces an uninitialized constant ActiveSupport::Deprecation error. active_support/deprecation is not being loaded. The stack trace is showing this hitting at lib/rspec/rails/autotest.rb:26.

When I replaced the line (26):

require 'active_support/core_ext'

with:

require 'active_support/all'

I was able to run my full test suite without any problems.

The program 'autotest' is currently not installed.

It seems documentation has a piece missing to make it work.

This is part of my Gemfile:

gem 'rspec', ">=3.0"
gem 'rspec-autotest'

After I run bundle I got this message in green:
Installing rspec-autotest 1.0.0

Yet when I ran autotest I get:

The program 'autotest' is currently not installed. You can install it by typing:
sudo apt install ruby-zentest

.rspec file does exist:

$ cat .rspec 
--color
--require spec_helper

Do I really need ruby-zentest? I have no idea what's that. By reading documentation I thought I could just type autotest and everything would work.

How to make it work?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.