autotest-rails's People
autotest-rails's Issues
Autotest::Rails#path_to_classname
Any chance to refactor this line and extract the unit|...
to an overrideable method?
f = s.sub(/^test#{sep}((unit|functional|integration|views|controllers|helpers)#{sep})?/, '').sub(/\.rb$/, '').split(sep)
(found here: http://github.com/seattlerb/autotest-rails/blob/master/lib/autotest/rails.rb#L77 )
I need to add another pattern ...|cells
and I don't wanna override the whole method.
Apparent Regression in Latest Release
I upgraded to the latest version of autotest-rails yesterday, and when I ran autotest
it failed out immediately saying the variable 'm' is undefined.
This appears to be a regression in the following commit:
In line 59, the variable m seems to be out of scope, as opposed to other do loops that include m as a parameter.
Crashes when exception messages contain non-ASCII characters
I run a Swedish Rails app so failed validations will give messages containing non-ascii characters ("X måste anges" for English "X can't be blank"). Plain rspec handles this fine but autotest will fail with the following message:
Unhandled exception: invalid byte sequence in US-ASCII
/home/johan/.gem/gems/ZenTest-4.9.5/lib/autotest.rb:594:in `gsub'
/home/johan/.gem/gems/ZenTest-4.9.5/lib/autotest.rb:594:in `handle_results'
/home/johan/.gem/gems/ZenTest-4.9.5/lib/autotest.rb:437:in `run_tests'
/home/johan/.gem/gems/ZenTest-4.9.5/lib/autotest.rb:387:in `get_to_green'
/home/johan/.gem/gems/ZenTest-4.9.5/lib/autotest.rb:364:in `block in run'
/home/johan/.gem/gems/ZenTest-4.9.5/lib/autotest.rb:362:in `loop'
/home/johan/.gem/gems/ZenTest-4.9.5/lib/autotest.rb:362:in `run'
/home/johan/.gem/gems/ZenTest-4.9.5/lib/autotest.rb:248:in `run'
/home/johan/.gem/gems/ZenTest-4.9.5/bin/autotest:6:in `<top (required)>'
/home/johan/.gem/bin/autotest:23:in `load'
/home/johan/.gem/bin/autotest:23:in `<main>'
Quitting
/home/johan/.gem/gems/ZenTest-4.9.5/lib/autotest.rb:594:in `gsub': invalid byte sequence in US-ASCII (ArgumentError)
from /home/johan/.gem/gems/ZenTest-4.9.5/lib/autotest.rb:594:in `handle_results'
from /home/johan/.gem/gems/ZenTest-4.9.5/lib/autotest.rb:437:in `run_tests'
from /home/johan/.gem/gems/ZenTest-4.9.5/lib/autotest.rb:387:in `get_to_green'
from /home/johan/.gem/gems/ZenTest-4.9.5/lib/autotest.rb:364:in `block in run'
from /home/johan/.gem/gems/ZenTest-4.9.5/lib/autotest.rb:362:in `loop'
from /home/johan/.gem/gems/ZenTest-4.9.5/lib/autotest.rb:362:in `run'
from /home/johan/.gem/gems/ZenTest-4.9.5/lib/autotest.rb:248:in `run'
from /home/johan/.gem/gems/ZenTest-4.9.5/bin/autotest:6:in `<top (required)>'
from /home/johan/.gem/bin/autotest:23:in `load'
from /home/johan/.gem/bin/autotest:23:in `<main>'
I haven't tested but would assume this applies to any non-ASCII characters in the messages.
Version: autotest 4.4.6, autotest-rails 4.2.1
Repro: Create example that raises an exception with non-ASCII text, run autotest.
ZenTest Dependency is 4.5, old version
Hi,
Your dependency on ZenTest 4.5 broke turn's colorization on my system, which works under autotest-rails 4.1.0.
Any reason you need 4.5.0 and not 4.6.2 (which restores the pretty colors)?
thanks
Mike
Allow usage without having ZenTest installed
'autotest/rails' does not need ZenTest, but it still fails when used and ZenTest is not installed
require 'autotest/rails'
Gem::LoadError: Could not find RubyGem ZenTest (>= 0)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.