Project

General

Profile

Actions

Defect #4153

closed

Broken unit tests

Added by Alexey Palazhchenko about 15 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-11-02
Due date:
% Done:

100%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Recently unit tests was broken. :( Output for r2993 from git mirror:

$ git checkout master
$ git reset hard
$ git clean -xdf
(edit database.yml to leave only test environment)
$ rake db:drop:all db:create:all
$ rake db:migrate RAILS_ENV=test
$ rake

/usr/bin/ruby1.8 -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/functional/users_controller_test.rb" "test/functional/wikis_controller_test.rb" ... "test/functional/account_controller_test.rb" 
...
Finished in 141.734743 seconds.

482 tests, 1734 assertions, 0 failures, 0 errors

/usr/bin/ruby1.8 -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/integration/account_test.rb" "test/integration/lib/redmine/menu_manager_test.rb" "test/integration/application_test.rb" "test/integration/admin_test.rb" "test/integration/issues_test.rb" "test/integration/projects_test.rb" 
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.....................
Finished in 23.011064 seconds.

21 tests, 142 assertions, 0 failures, 0 errors
Errors running test:units!

As you can see, unit tests wasn't been run at all.

Actions

Also available in: Atom PDF