Test Analysis

Automations

<% require 'toaster/state/convergence' require 'toaster/util/util' require 'toaster/model/automation' autos = Toaster::Automation.find() auto = cur_auto tasks = [] suite = suite show_toaster_tasks = false if cur_suite auto = suite.automation end if auto tasks = auto.tasks.to_a end %> <% autos.each_with_index { |row,id| t = Time.now.to_i active = !auto ? false : row.id == auto.id param_auto = active ? "" : row.id param_hash = {"auto" => param_auto, "run" => "", "task" => "", "exe" => ""} num_runs = row.get_num_runs globally_executed_tasks = row.get_globally_executed_tasks prop_changes = row.num_global_state_transitions %> "> <% } %>
#UUIDNameTypeTasks AttributesRunsState ChangesActions
<%= id+1 %> <%= row.uuid %> <%= row.name %> <%= row.language %> <%= globally_executed_tasks.size %> <%= row.automation_attributes.size %> <%= num_runs %> <%= link_to "#{prop_changes}", "/execs/#{row.id}/tasks" %> <%= link_to 'details', "/analysis/index/#{row.id}" %> <%= link_to 'convergence', "/analysis/conv/auto/#{row.id}" %> <%= link_to 'idempotence', "/analysis/idem/auto/#{row.id}" %>
<% if !auto %> Please select an automation or a specific test suite to perform idempotence analysis. <% else %>

Automation Details

Selected Automation UUID: <%= auto.uuid %>

Automation Tasks

<% if suite %>
Test Suite UUID: <%= suite.uuid %> <% end %> <% count = 0 tasks.each_with_index { |row,id| if show_toaster_tasks || !row.toaster_testing_task? active = false param_task = active ? "" : row.id clazz = active ? "active " : "" clazz.strip! #prop_changes = row.global_state_prop_changes prop_changes = row.global_state_transitions %> > <% end } %>
#ID ResourceAction Success (%) State Changes Actions
<%= count += 1 %> <%= row.uuid %> <%= row.resource %> <%= row.action %> <%= format_float(row.global_success_percentage) %> % <%= prop_changes.size %> convergence idempotence

All Affected State Properties

<% begin auto.all_affected_property_names.each do |p| %> <% end rescue => ex %> <% end %>
Property Name
<%= p %>
[Error: <%= ex %> <%= ex.backtrace %>]
<% end %>