Skip to content

Commit

Permalink
disable unimplemented features
Browse files Browse the repository at this point in the history
RC1
  • Loading branch information
valexsantos committed Mar 31, 2016
1 parent 2e4f8b5 commit 62e3ed3
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 24 deletions.
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ TestIt - Redmine Test Management plugin

## Introduction

TODO
This is a Test Management plugin for Redmine.

It uses the generic Redmine issue to provide the support for Test cases, grouping then in Test suites and to keep track of the execution status in a Test run.

It also adds the Test plan issue allowing you to manage the test executions in a smaller set.

Mainly, it consists on customized views to simplify the management of the project's Tests.

## Installation and Setup

Expand All @@ -23,11 +29,17 @@ rake redmine:plugins:migrate
* Enable the 'Test suite', 'Test case', 'Test plan' and 'Test run' trackers and the plugin on project settings tab
* Configure the TestIt trackers map on project -> settings -> testit

## User guide
## User manual

TODO

## About

This plugin is licensed under the GNU GPL v3. See [LICENSE](https://github.com/valexsantos/testit/blob/master/LICENSE) for details.
This plugin has Redmine core code inside.

Licensed under the GNU GPL v3. See [LICENSE](https://github.com/valexsantos/testit/blob/master/LICENSE) for details.

Enjoy!

(C) 2016 By Vasco Santos

13 changes: 7 additions & 6 deletions app/helpers/testit_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ def get_testit_tabs(project)
:partial => 'testit_runs/index',
:label => :title_testit_runs
} # if can_view
tabs << {
:name => 'TestItReports',
:partial => 'testit_reports/index',
:url => { :controller => :testit_reports, :action => :index},
:label => :title_testit_reports
} # if can_view
# TODO
# tabs << {
# :name => 'TestItReports',
# :partial => 'testit_reports/index',
# :url => { :controller => :testit_reports, :action => :index},
# :label => :title_testit_reports
# } # if can_view
tabs
end

Expand Down
30 changes: 15 additions & 15 deletions db/migrate/02_setup_testit_trackers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def self.up
# TestSuite
# TestPlan
# status
# Ready
# Resolved
# Obsoleted
new_status=create_issue_status(
:name => "New",
Expand All @@ -36,8 +36,8 @@ def self.up
:name => "In Progress",
:is_closed => false
)
ready_status = create_issue_status(
:name => "Ready",
resolved_status = create_issue_status(
:name => "Resolved",
:is_closed => false
)
obsoleted_status = create_issue_status(
Expand Down Expand Up @@ -99,12 +99,12 @@ def self.up
Role.all.each { |role|
WorkflowTransition.create!(:tracker => testcase_tracker, :role => role , :old_status => new_status, :new_status => in_progress_status)
WorkflowTransition.create!(:tracker => testcase_tracker, :role => role , :old_status => new_status, :new_status => rejected_status)
WorkflowTransition.create!(:tracker => testcase_tracker, :role => role , :old_status => in_progress_status, :new_status => ready_status)
WorkflowTransition.create!(:tracker => testcase_tracker, :role => role , :old_status => in_progress_status, :new_status => resolved_status)
WorkflowTransition.create!(:tracker => testcase_tracker, :role => role , :old_status => in_progress_status, :new_status => rejected_status)
WorkflowTransition.create!(:tracker => testcase_tracker, :role => role , :old_status => in_progress_status, :new_status => obsoleted_status)
WorkflowTransition.create!(:tracker => testcase_tracker, :role => role , :old_status => ready_status, :new_status => in_progress_status)
WorkflowTransition.create!(:tracker => testcase_tracker, :role => role , :old_status => ready_status, :new_status => rejected_status)
WorkflowTransition.create!(:tracker => testcase_tracker, :role => role , :old_status => ready_status, :new_status => obsoleted_status)
WorkflowTransition.create!(:tracker => testcase_tracker, :role => role , :old_status => resolved_status, :new_status => in_progress_status)
WorkflowTransition.create!(:tracker => testcase_tracker, :role => role , :old_status => resolved_status, :new_status => rejected_status)
WorkflowTransition.create!(:tracker => testcase_tracker, :role => role , :old_status => resolved_status, :new_status => obsoleted_status)
WorkflowTransition.create!(:tracker => testcase_tracker, :role => role , :old_status => obsoleted_status, :new_status => closed_status)
WorkflowTransition.create!(:tracker => testcase_tracker, :role => role , :old_status => obsoleted_status, :new_status => in_progress_status)
WorkflowTransition.create!(:tracker => testcase_tracker, :role => role , :old_status => obsoleted_status, :new_status => rejected_status)
Expand All @@ -113,12 +113,12 @@ def self.up
#
WorkflowTransition.create!(:tracker => testsuite_tracker, :role => role , :old_status => new_status, :new_status => in_progress_status)
WorkflowTransition.create!(:tracker => testsuite_tracker, :role => role , :old_status => new_status, :new_status => rejected_status)
WorkflowTransition.create!(:tracker => testsuite_tracker, :role => role , :old_status => in_progress_status, :new_status => ready_status)
WorkflowTransition.create!(:tracker => testsuite_tracker, :role => role , :old_status => in_progress_status, :new_status => resolved_status)
WorkflowTransition.create!(:tracker => testsuite_tracker, :role => role , :old_status => in_progress_status, :new_status => rejected_status)
WorkflowTransition.create!(:tracker => testsuite_tracker, :role => role , :old_status => in_progress_status, :new_status => obsoleted_status)
WorkflowTransition.create!(:tracker => testsuite_tracker, :role => role , :old_status => ready_status, :new_status => in_progress_status)
WorkflowTransition.create!(:tracker => testsuite_tracker, :role => role , :old_status => ready_status, :new_status => rejected_status)
WorkflowTransition.create!(:tracker => testsuite_tracker, :role => role , :old_status => ready_status, :new_status => obsoleted_status)
WorkflowTransition.create!(:tracker => testsuite_tracker, :role => role , :old_status => resolved_status, :new_status => in_progress_status)
WorkflowTransition.create!(:tracker => testsuite_tracker, :role => role , :old_status => resolved_status, :new_status => rejected_status)
WorkflowTransition.create!(:tracker => testsuite_tracker, :role => role , :old_status => resolved_status, :new_status => obsoleted_status)
WorkflowTransition.create!(:tracker => testsuite_tracker, :role => role , :old_status => obsoleted_status, :new_status => closed_status)
WorkflowTransition.create!(:tracker => testsuite_tracker, :role => role , :old_status => obsoleted_status, :new_status => in_progress_status)
WorkflowTransition.create!(:tracker => testsuite_tracker, :role => role , :old_status => obsoleted_status, :new_status => rejected_status)
Expand All @@ -127,12 +127,12 @@ def self.up
#
WorkflowTransition.create!(:tracker => testplan_tracker, :role => role , :old_status => new_status, :new_status => in_progress_status)
WorkflowTransition.create!(:tracker => testplan_tracker, :role => role , :old_status => new_status, :new_status => rejected_status)
WorkflowTransition.create!(:tracker => testplan_tracker, :role => role , :old_status => in_progress_status, :new_status => ready_status)
WorkflowTransition.create!(:tracker => testplan_tracker, :role => role , :old_status => in_progress_status, :new_status => resolved_status)
WorkflowTransition.create!(:tracker => testplan_tracker, :role => role , :old_status => in_progress_status, :new_status => rejected_status)
WorkflowTransition.create!(:tracker => testplan_tracker, :role => role , :old_status => in_progress_status, :new_status => obsoleted_status)
WorkflowTransition.create!(:tracker => testplan_tracker, :role => role , :old_status => ready_status, :new_status => in_progress_status)
WorkflowTransition.create!(:tracker => testplan_tracker, :role => role , :old_status => ready_status, :new_status => rejected_status)
WorkflowTransition.create!(:tracker => testplan_tracker, :role => role , :old_status => ready_status, :new_status => obsoleted_status)
WorkflowTransition.create!(:tracker => testplan_tracker, :role => role , :old_status => resolved_status, :new_status => in_progress_status)
WorkflowTransition.create!(:tracker => testplan_tracker, :role => role , :old_status => resolved_status, :new_status => rejected_status)
WorkflowTransition.create!(:tracker => testplan_tracker, :role => role , :old_status => resolved_status, :new_status => obsoleted_status)
WorkflowTransition.create!(:tracker => testplan_tracker, :role => role , :old_status => obsoleted_status, :new_status => closed_status)
WorkflowTransition.create!(:tracker => testplan_tracker, :role => role , :old_status => obsoleted_status, :new_status => in_progress_status)
WorkflowTransition.create!(:tracker => testplan_tracker, :role => role , :old_status => obsoleted_status, :new_status => rejected_status)
Expand Down

0 comments on commit 62e3ed3

Please sign in to comment.