Commit ba2022b9f2e034bb91da22235bd6d69dbf9728eb
1 parent
05c93013
Exists in
send_email_to_admins
and in
5 other branches
Run api tests in plugins
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
lib/tasks/plugins_tests.rake
| ... | ... | @@ -9,7 +9,7 @@ $broken_plugins = %w[ |
| 9 | 9 | @all_plugins = Dir.glob('plugins/*').map { |f| File.basename(f) } - ['template'] |
| 10 | 10 | @all_plugins.sort! |
| 11 | 11 | |
| 12 | -@all_tasks = [:units, :functionals, :integration, :cucumber, :selenium] | |
| 12 | +@all_tasks = [:units, :api, :functionals, :integration, :cucumber, :selenium] | |
| 13 | 13 | |
| 14 | 14 | def enabled_plugins |
| 15 | 15 | Dir.glob('{baseplugins,config/plugins}/*').map { |f| File.basename(f) } - ['README'] |
| ... | ... | @@ -87,6 +87,8 @@ def task2folder(task) |
| 87 | 87 | result = case task.to_sym |
| 88 | 88 | when :units |
| 89 | 89 | :unit |
| 90 | + when :api | |
| 91 | + :api | |
| 90 | 92 | when :functionals |
| 91 | 93 | :functional |
| 92 | 94 | when :integration | ... | ... |