Displaying 10 results from an estimated 10 matches for "unit_diff".
2007 Nov 26
1
autotest problem, can you possibly help me ?
Hi,
Im running windows xp and configured autotest with:
http://railsforum.com/viewtopic.php?pid=4796
when i do
autotest --rails
i get following error:
D:/servers/InstantRails/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.6.1/lib/unit_diff.
rb:187:in ``'': No such file or directory - diff.exe -u
C:/DOCUME~1/Piotrek/USTAW
I~1/Temp/expect.5412.0 C:/DOCUME~1/Piotrek/USTAWI~1/Temp/butwas.5412.0
(Errno::E
NOENT)
from
D:/servers/InstantRails/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.6.1/l
ib/unit_diff.rb:187:in `unit_diff...
2006 Jul 18
7
backgroundrb and autotest
...port-1.3.1/lib/active_support/dependencies.rb:147:in
`require''
from ./test/unit/task_checker_worker_test.rb:2
from /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140:in
`load''
from -e:1
from -e:1
/usr/lib/ruby/gems/1.8/gems/ZenTest-3.2.0/lib/unit_diff.rb:196:in
`unit_diff'': undefined method `first'' for nil:NilClass (NoMethodError)
from /usr/lib/ruby/gems/1.8/gems/ZenTest-3.2.0/lib/unit_diff.rb:84:in
`unit_diff''
from /usr/lib/ruby/gems/1.8/gems/ZenTest-3.2.0/bin/unit_diff:38
from /usr/bin/unit_diff:18
--
James Hugh...
2008 Feb 15
3
Ugly, garbled output from autotest
I am getting this horribly ugly output from autotest when a test fails.
Normal output from ''rake test'':
--
1) Failure:
test_export_format(TaskTest) [./test/unit/task_test.rb:61]:
<"Michael Alvarez"> expected but was
<nil>.
--
Same failure, as seen via autotest:
--
1) Failure:
test_export_format(TaskTest) [./test/unit/task_test.rb:61]:
---
2006 May 02
2
Autotest doesn''t work on WinXP?
...looks VERY cool), I get this
error:
(run from within a Rails app directory)
C:\ruby_home\analysis>autotest -rails
# Testing updated files
+ c:/ruby/bin/ruby -Ilib:test -e ''["test/unit/user_test.rb",
"test/unit/role_test.rb"].each { |f| load f }'' | unit_diff -u
''c:'' is not recognized as an internal or external command, operable program
or batch file.
# Test::Unit exited without a parseable failure or error message.
# You probably have a syntax error in your code.
# I''ll retry in 10 seconds
Using rake all of the tes...
2007 Aug 08
3
rspec with autotest on a windows machine
...app>autotest
loading autotest/rails
c:\ruby\bin\ruby -rrubygems -e "require ''redgreen''" -I.;lib;test
-rtest/unit -e "%w[test/functional/journals_controller_test.rb
test/integration/journal_stories_test.rb test/unit/journal_test.rb].each {
|f| require f }" | unit_diff -u
Loaded suite -e
Started
................
Finished in 1.265 seconds.
16 tests, 33 assertions, 0 failures, 0 errors
Note: I am running Rails 1.2.3 and ZenTest v 3.6.1 on a Windows machine
(sad, I know, but we''ve discussed that already).
When I run ''ruby script/spec -v''...
2008 Jun 04
8
Why has the --color gone from my life?
Hi all,
Running on OSX 10.5.3, Latest Rspec trunk, Rspec rails trunk, latest
autotest gem and rails 2.1
I''ve lost my colour output in autotest.
rake spec gives colour output, but autotest gives me black and white.
It was working a little bit before, I think I upgraded to the latest
versions of everything to get all the textmate snippets talking and being
friendly to one another again
2007 Jun 22
11
Nicer failure message formatting
Hi
Are there any tools around that make rspec''s failure messages easier
to read?
unit_diff from ZenTest doesn''t seem to work - unless I missed something.
A simple but very helpful improvement would be to use more line-
breaks, e.g.
Current output:
expected "this is a very long string blah blah", got "this is a very
very long string blah blah" (using ==)...
2009 Jul 06
8
how to make ZenTest autotest run whenever my tests change
...gem system claims I have version 4.1.3. And I run autotest in the
project folder, and it says:
$ autotest
(Not running features. To run features in autotest, set AUTOFEATURE=true.)
/usr/bin/ruby1.8 -I.:lib:test -rubygems -e "%w[test/unit
test/test_helper.rb].each { |f| require f }" | unit_diff -u
Loaded suite -e
Started
Finished in 0.000437 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
Note the system did not even run the whole test batch, first. And note it sees
and warns that it rejects my features folder. I need it to see my test folder
(NOT a spec folder!).
Then I make a...
2006 Nov 10
3
Specifying views
I''m trying to spec my views with 0.7.1 on edge rails per the
instructions on the rspec site [1] and David''s blog [2], but I''m not
having much luck. Here''s my spec in specs/views/accounts/
new_view_spec.rb:
require File.dirname(__FILE__) + ''/../../spec_helper''
context "The new account form" do
specify "should have an
2008 Oct 14
1
Starting Server gives an error
...und (0.4.1)
A library for playing with sound on MS Windows.
windows-api (0.2.0)
An easier way to create methods using Win32API
windows-pr (0.7.1)
Windows functions and constants bundled via Win32::API
ZenTest (3.10.0)
ZenTest provides 4 different tools and 1 library: zentest,
unit_diff, autotest, multiruby, and Test::Rails
Can anyone tell what is remaining to install?
Thanks,
Tushar
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk&...