radiumsoftware / iridium

MIT License
128 stars 18 forks source link

Impossible to run tests #31

Closed MikeAski closed 11 years ago

MikeAski commented 11 years ago

When running iridium test, I get the following message:

  Tasks:
  iridium test_command help [COMMAND]  # Describe subcommands or one specific subcommand
  iridium test_command test PATHS      # run tests match by PATHS

which is a quite strange content (what is this test_command expected token?).

When I try iridium test test, I get:

/home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor/core_ext/hash_with_indifferent_access.rb:26:in `[]=': can't modify frozen Thor::CoreExt::HashWithIndifferentAccess (RuntimeError)
    from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor/core_ext/hash_with_indifferent_access.rb:26:in `[]='
    from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/iridium-7396999d5753/lib/iridium/testing/suite.rb:99:in `execute'
    from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/iridium-7396999d5753/lib/iridium/testing/test_command.rb:18:in `test'
    from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor/task.rb:27:in `run'
    from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor/invocation.rb:120:in `invoke_task'
    from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor.rb:344:in `dispatch'
    from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor/invocation.rb:109:in `invoke'
    from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor.rb:214:in `block in subcommand'
    from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor/task.rb:27:in `run'
    from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor/invocation.rb:120:in `invoke_task'
    from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor.rb:344:in `dispatch'
    from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor/base.rb:434:in `start'
    from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/iridium-7396999d5753/bin/iridium:4:in `<top (required)>'
    from ../bin/iridium:16:in `load'
    from ../bin/iridium:16:in `<main>'

So it seems testing/suite.rb has incorrect action at line 99...

The project was generated using iridium generate app.

ahawkins commented 11 years ago

K. I'll fix this tonight On Nov 26, 2012 5:58 PM, "Mike Andrzejewski" notifications@github.com wrote:

When running iridium test, I get the following message:

Tasks: iridium test_command help [COMMAND] # Describe subcommands or one specific subcommand iridium test_command test PATHS # run tests match by PATHS

which is a quite strange content (what is this test_command expected token?).

When I try iridium test test, I get:

/home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor/core_ext/hash_with_indifferent_access.rb:26:in []=': can't modify frozen Thor::CoreExt::HashWithIndifferentAccess (RuntimeError) from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor/core_ext/hash_with_indifferent_access.rb:26:in[]=' from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/iridium-7396999d5753/lib/iridium/testing/suite.rb:99:in execute' from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/iridium-7396999d5753/lib/iridium/testing/test_command.rb:18:intest' from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor/task.rb:27:in run' from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor/invocation.rb:120:ininvoke_task' from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor.rb:344:in dispatch' from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor/invocation.rb:109:ininvoke' from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor.rb:214:in block in subcommand' from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor/task.rb:27:inrun' from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor/invocation.rb:120:in invoke_task' from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor.rb:344:indispatch' from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/thor-15eedc90f499/lib/thor/base.rb:434:in start' from /home/mike/.rvm/gems/ruby-1.9.3-p125/bundler/gems/iridium-7396999d5753/bin/iridium:4:in<top (required)>' from ../bin/iridium:16:in load' from ../bin/iridium:16:in

'

So it seems testing/suite.rb has incorrect action at line 99...

The project was generated using iridium generate app.

— Reply to this email directly or view it on GitHubhttps://github.com/radiumsoftware/iridium/issues/31.

ahawkins commented 11 years ago

@MikeAski I also need to look into issue with thor that requires you to run iridium test test. test is the default task on the test command.

ahawkins commented 11 years ago

fixed.

MikeAski commented 11 years ago

Thx a lot. Thx also for your reactivity :+1: