Hello,
I run test for ruote with rcov, and got the coverage report below,
order by COV rate ascendantly.
then I wrote three test cases to cover pretty.rb/misc.rb and
fs_storage.rb, with the total coverage rise to 93.8% from 92.0%.
Would it be integrated into offical release?
|lib/ruote/log/pretty.rb | 137 | 61
| 8.2% |
|lib/ruote/util/misc.rb | 127 | 46
| 45.7% |
|lib/ruote/storage/fs_storage.rb | 133 | 57
| 70.2% |
|lib/ruote/exp/iterator.rb | 81 | 28
| 71.4% |
|lib/ruote/util/hashdot.rb | 77 | 35
| 71.4% |
|lib/ruote/svc/error_handler.rb | 127 | 59
| 76.3% |
|lib/ruote/exp/fe_redo.rb | 78 | 17
| 76.5% |
|lib/ruote/storage/composite_storage.rb | 134 | 60
| 80.0% |
|lib/ruote/util/time.rb | 100 | 36
| 80.6% |
|lib/ruote/exp/fe_echo.rb | 60 | 16
| 81.2% |
|lib/ruote/svc/dollar_sub.rb | 265 | 112
| 82.1% |
|lib/ruote/exp/ro_persist.rb | 138 | 58
| 82.8% |
|lib/ruote/storage/hash_storage.rb | 200 | 109
| 83.5% |
|lib/ruote/engine/process_error.rb | 109 | 52
| 84.6% |
|lib/ruote/engine/process_status.rb | 384 | 158
| 85.4% |
|lib/ruote/exp/fe_wait.rb | 95 | 28
| 85.7% |
|lib/ruote/util/ometa.rb | 71 | 29
| 86.2% |
|lib/ruote/exp/ro_variables.rb | 198 | 82
| 87.8% |
|lib/ruote/id/wfid_generator.rb | 74 | 28
| 89.3% |
|lib/ruote/workitem.rb | 266 | 77
| 89.6% |
|lib/ruote/svc/treechecker.rb | 102 | 40
| 90.0% |
|lib/ruote/exp/fe_set.rb | 160 | 46
| 91.3% |
|lib/ruote/tree_dot.rb | 85 | 39
| 92.3% |
|lib/ruote/exp/fe_concurrence.rb | 305 | 92
| 92.4% |
|lib/ruote/engine.rb | 769 | 251
| 93.2% |
|lib/ruote/svc/participant_list.rb | 362 | 177
| 93.2% |
|lib/ruote/part/hash_participant.rb | 91 | 30
| 93.3% |
|lib/ruote/worker.rb | 338 | 169
| 94.1% |
|lib/ruote/log/test_logger.rb | 202 | 86
| 94.2% |
|lib/ruote/exp/fe_sequence.rb | 60 | 18
| 94.4% |
|lib/ruote/svc/dispatch_pool.rb | 117 | 54
| 94.4% |
|lib/ruote/fei.rb | 202 | 92
| 94.6% |
|lib/ruote/part/storage_participant.rb | 317 | 134
| 94.8% |
|lib/ruote/util/lookup.rb | 112 | 47
| 95.7% |
|lib/ruote/exp/fe_reserve.rb | 126 | 49
| 95.9% |
|lib/ruote/exp/flowexpression.rb | 755 | 388
| 96.1% |
|lib/ruote/exp/merge.rb | 73 | 26
| 96.2% |
|lib/ruote/part/engine_participant.rb | 185 | 54
| 96.3% |
|lib/ruote/exp/fe_equals.rb | 115 | 31
| 96.8% |
|lib/ruote/exp/fe_restore.rb | 102 | 33
| 97.0% |
|lib/ruote/exp/fe_participant.rb | 257 | 73
| 97.3% |
|lib/ruote/context.rb | 192 | 89
| 97.8% |
|lib/ruote/exp/fe_command.rb | 156 | 45
| 97.8% |
|lib/ruote/parser.rb | 216 | 102
| 98.0% |
|lib/ruote/storage/base.rb | 348 | 144
| 98.6% |
|lib/ruote.rb | 7 | 5 |
100.0% |
|lib/ruote/exp/command.rb | 90 | 39 |
100.0% |
|lib/ruote/exp/commanded.rb | 69 | 18 |
100.0% |
|lib/ruote/exp/condition.rb | 115 | 54 |
100.0% |
|lib/ruote/exp/fe_add_branches.rb | 138 | 32 |
100.0% |
|lib/ruote/exp/fe_apply.rb | 154 | 14 |
100.0% |
|lib/ruote/exp/fe_cancel_process.rb | 67 | 10 |
100.0% |
|lib/ruote/exp/fe_concurrent_iterator.rb | 207 | 58 |
100.0% |
|lib/ruote/exp/fe_cron.rb | 141 | 32 |
100.0% |
|lib/ruote/exp/fe_cursor.rb | 314 | 46 |
100.0% |
|lib/ruote/exp/fe_define.rb | 112 | 19 |
100.0% |
|lib/ruote/exp/fe_error.rb | 82 | 23 |
100.0% |
|lib/ruote/exp/fe_forget.rb | 81 | 13 |
100.0% |
|lib/ruote/exp/fe_if.rb | 124 | 36 |
100.0% |
|lib/ruote/exp/fe_inc.rb | 205 | 54 |
100.0% |
|lib/ruote/exp/fe_iterator.rb | 233 | 37 |
100.0% |
|lib/ruote/exp/fe_listen.rb | 192 | 43 |
100.0% |
|lib/ruote/exp/fe_noop.rb | 45 | 8 |
100.0% |
|lib/ruote/exp/fe_ref.rb | 126 | 42 |
100.0% |
|lib/ruote/exp/fe_save.rb | 79 | 23 |
100.0% |
|lib/ruote/exp/fe_subprocess.rb | 189 | 27 |
100.0% |
|lib/ruote/exp/fe_undo.rb | 67 | 13 |
100.0% |
|lib/ruote/exp/fe_when.rb | 211 | 41 |
100.0% |
|lib/ruote/exp/ro_attributes.rb | 200 | 84 |
100.0% |
|lib/ruote/id/mnemo_wfid_generator.rb | 43 | 11 |
100.0% |
|lib/ruote/log/storage_history.rb | 124 | 47 |
100.0% |
|lib/ruote/log/wait_logger.rb | 65 | 21 |
100.0% |
|lib/ruote/parser/ruby_dsl.rb | 138 | 41 |
100.0% |
|lib/ruote/parser/xml.rb | 92 | 40 |
100.0% |
|lib/ruote/part/block_participant.rb | 104 | 27 |
100.0% |
|lib/ruote/part/local_participant.rb | 144 | 32 |
100.0% |
|lib/ruote/part/no_op_participant.rb | 60 | 14 |
100.0% |
|lib/ruote/part/null_participant.rb | 54 | 12 |
100.0% |
|lib/ruote/part/smtp_participant.rb | 116 | 28 |
100.0% |
|lib/ruote/part/template.rb | 84 | 30 |
100.0% |
|lib/ruote/participant.rb | 7 | 5 |
100.0% |
|lib/ruote/receiver/base.rb | 190 | 56 |
100.0% |
|lib/ruote/svc/expression_map.rb | 97 | 30 |
100.0% |
|lib/ruote/svc/tracker.rb | 127 | 50 |
100.0% |
|lib/ruote/util/serializer.rb | 103 | 32 |
100.0% |
|lib/ruote/util/subprocess.rb | 68 | 18 |
100.0% |
|lib/ruote/version.rb | 28 | 3 |
100.0% |
+----------------------------------------------------+-------+-------
+--------+
|Total | 13493 | 4725
| 92.0% |
+----------------------------------------------------+-------+-------
+--------+
PS: A little suggestion to modify ft_2_errors.rb.
diff --git a/ruote-2.1.11/test/functional/ft_2_errors.rb b/
ruote-2.1.11/test/functional/ft_2_errors.rb
index bb7df7a..ce225fd 100644
--- a/ruote-2.1.11/test/functional/ft_2_errors.rb
+++ b/ruote-2.1.11/test/functional/ft_2_errors.rb
@@ -90,7 +90,7 @@ class FtErrorsTest < Test::Unit::TestCase
err1 = ps.errors.first
- assert_not_equal err.at, err1.at
+ assert_not_equal err.id, err1.id
# not the same error
assert_equal 1, @engine.storage.get_many('errors').size
--
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en