Warnings when running redhopper tests with Redmine 3.3.x
When we run redhopper tests with Redmine 3.3.x we have many warnings of this kind:
warning: instance variable @notify not initialized
We do not encounter such warnings with Redmine. Some extracts:
$ bundle exec rake redmine:plugins:test NAME=redhopper 2> redhopper_test_errors.txt
Run options: --seed 33
# Running:
...................................
Finished in 3.013838s, 11.6131 runs/s, 19.2446 assertions/s.
35 runs, 58 assertions, 0 failures, 0 errors, 0 skips
Run options: --seed 1313
# Running:
.........
Finished in 1.342135s, 6.7057 runs/s, 25.3328 assertions/s.
9 runs, 34 assertions, 0 failures, 0 errors, 0 skips
$ grep "warning: instance variable" redhopper_test_errors.txt |wc -l
662
$ bundle exec rake 2> redmine_test_errors.txt
[...]
Run options: --seed 35405
# Running:
[...]
Finished in 320.852094s, 12.4668 runs/s, 72.7781 assertions/s.
4000 runs, 23351 assertions, 0 failures, 0 errors, 3 skips
You have skipped tests. Run with --verbose for details.
$ grep "warning: instance variable" redmine_test_errors.txt |wc -l
0
As a workaround to filter this noise:
$ bundle exec rake redmine:plugins:test NAME=redhopper 2> /dev/null