Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to customize test execution statuses #236

Open
okainov opened this issue Feb 26, 2018 · 1 comment
Open

Add possibility to customize test execution statuses #236

okainov opened this issue Feb 26, 2018 · 1 comment
Assignees

Comments

@okainov
Copy link
Contributor

@okainov okainov commented Feb 26, 2018

Description of problem

At the moment there are 8 (eight!) statuses for Test case run: Idle, Passed, Failed, Blocked, Waived, Paused, Running, Error.
I see the point that it was done to cover all theoretical cases, but still required statuses vary from team to team, so it's better to provide possibility to customize them. For example, for us it would make sense to have "investigation\external feedback required" or something like thisand in the same time we don't need "waived, paused, error" statuses.
As a workaround we agree in our team which statuses to use, but still it's better to be done on Kiwi side.

Additional info

When I went thru the code, I've found out that it's heavily hardcoded, even the order of the fields in the DB is important, so it seems a lot of refactoring will be required here...

@atodorov

This comment has been minimized.

Copy link
Member

@atodorov atodorov commented Mar 13, 2018

Note: statuses are also hard-coded in tcms_api/immutable.py::TestCaseRunStatus.

atodorov added a commit that referenced this issue Aug 8, 2019
these statuses are hard-coded for now but they are self
explanatory so we don't need to document them separately.

These statuses will be made easier to configure as part of #236.
@atodorov atodorov changed the title Add possibility to customize test case run statuses Add possibility to customize test execution statuses Aug 8, 2019
atodorov added a commit that referenced this issue Aug 8, 2019
these statuses are hard-coded for now but they are self
explanatory so we don't need to document them separately.

These statuses will be made easier to configure as part of #236.
asankov added a commit to asankov/Kiwi that referenced this issue Nov 28, 2019
in `table_executions.html`

Refs kiwitcms#236
asankov added a commit to asankov/Kiwi that referenced this issue Nov 28, 2019
in `run/get_case_runs.html`

Refs kiwitcms#236
asankov added a commit to asankov/Kiwi that referenced this issue Nov 29, 2019
in `run/get_case_runs.html`

Refs kiwitcms#236

Adapt unit tests
asankov added a commit to asankov/Kiwi that referenced this issue Nov 30, 2019
asankov added a commit to asankov/Kiwi that referenced this issue Nov 30, 2019
asankov added a commit to asankov/Kiwi that referenced this issue Nov 30, 2019
asankov added a commit to asankov/Kiwi that referenced this issue Nov 30, 2019
asankov added a commit to asankov/Kiwi that referenced this issue Nov 30, 2019
in `table_executions.html`

Refs kiwitcms#236

Remove unused `status_name` parameter
asankov added a commit to asankov/Kiwi that referenced this issue Nov 30, 2019
in `run/get_case_runs.html`

Refs kiwitcms#236

Adapt unit tests
asankov added a commit to asankov/Kiwi that referenced this issue Nov 30, 2019
asankov added a commit to asankov/Kiwi that referenced this issue Nov 30, 2019
in `table_executions.html` and `run/get_case_runs.html`

Refs kiwitcms#236

Remove unused `status_name` parameter

Adapt unit tests
asankov added a commit to asankov/Kiwi that referenced this issue Nov 30, 2019
in `table_executions.html` and `run/get_case_runs.html`

Refs kiwitcms#236

Remove unused `status_name` parameter

Adapt unit tests
asankov added a commit to asankov/Kiwi that referenced this issue Dec 1, 2019
in `table_executions.html` and `run/get_case_runs.html`

Refs kiwitcms#236

Remove unused `status_name` parameter

Adapt unit tests
atodorov added a commit that referenced this issue Dec 2, 2019
in `table_executions.html` and `run/get_case_runs.html`

Refs #236

Remove unused `status_name` parameter

Adapt unit tests
asankov added a commit to asankov/Kiwi that referenced this issue Dec 9, 2019
Clean-up some of the java script in `testrun_actions.js`
Put up some TODO for future refactoring
asankov added a commit to asankov/Kiwi that referenced this issue Dec 9, 2019
Clean-up some of the java script in `testrun_actions.js`
Put up some TODO for future refactoring
asankov added a commit to asankov/Kiwi that referenced this issue Dec 9, 2019
Clean-up some of the java script in `testrun_actions.js`
Put up some TODO for future refactoring
asankov added a commit to asankov/Kiwi that referenced this issue Dec 11, 2019
Refs kiwitcms#236
Closes kiwitcms#1261

Clean-up some of the java script in `testrun_actions.js`
Put up some TODO for future refactoring
asankov added a commit to asankov/Kiwi that referenced this issue Dec 11, 2019
Refs kiwitcms#236
Closes kiwitcms#1261

Clean-up some of the java script in `testrun_actions.js`
Put up some TODO for future refactoring
asankov added a commit to asankov/Kiwi that referenced this issue Dec 11, 2019
Refs kiwitcms#236
Closes kiwitcms#1261

Clean-up some of the java script in `testrun_actions.js`
Put up some TODO for future refactoring
asankov added a commit to asankov/Kiwi that referenced this issue Dec 12, 2019
Refs kiwitcms#236
Closes kiwitcms#1261

Clean-up some of the java script in `testrun_actions.js`
Put up some TODO for future refactoring
asankov added a commit to asankov/Kiwi that referenced this issue Dec 12, 2019
Refs kiwitcms#236
Closes kiwitcms#1261

Clean-up some of the java script in `testrun_actions.js`
Put up some TODO for future refactoring

Use the API to update the execution status

in favour of `updateRunStatus` function

Delete global variable `Nitrate.TestRuns.CaseRunStatus`
asankov added a commit to asankov/Kiwi that referenced this issue Dec 12, 2019
Refs kiwitcms#236
Closes kiwitcms#1261

Clean-up some of the java script in `testrun_actions.js`
Put up some TODO for future refactoring

Use the API to update the execution status

in favour of `updateRunStatus` function

Delete global variable `Nitrate.TestRuns.CaseRunStatus`
asankov added a commit to asankov/Kiwi that referenced this issue Dec 12, 2019
Refs kiwitcms#236
Closes kiwitcms#1261

Clean-up some of the java script in `testrun_actions.js`
Put up some TODO for future refactoring

Use the API to update the execution status

in favour of `updateRunStatus` function

Delete global variable `Nitrate.TestRuns.CaseRunStatus`
asankov added a commit to asankov/Kiwi that referenced this issue Dec 14, 2019
Refs kiwitcms#236
Closes kiwitcms#1261

Clean-up some of the java script in `testrun_actions.js`
Put up some TODO for future refactoring

Use the API to update the execution status

in favour of `updateRunStatus` function

Delete global variable `Nitrate.TestRuns.CaseRunStatus`

Delete `UpdateCaseRunStatusView`

because we will be using the API for updating execution statuses
asankov added a commit to asankov/Kiwi that referenced this issue Dec 20, 2019
Refs kiwitcms#236
Closes kiwitcms#1261

Clean-up some of the java script in `testrun_actions.js`
Put up some TODO for future refactoring

Use the API to update the execution status

in favour of `updateRunStatus` function

Delete global variable `Nitrate.TestRuns.CaseRunStatus`

Delete `UpdateCaseRunStatusView`

because we will be using the API for updating execution statuses
asankov added a commit to asankov/Kiwi that referenced this issue Dec 21, 2019
Refs kiwitcms#236

- Add `colorfield` to `INSTALLED_APPS`
- Change `TestExecutionStatus::color` from `models.CharField` to
  `colorfield.ColorField`
asankov added a commit to asankov/Kiwi that referenced this issue Dec 21, 2019
Refs kiwitcms#236

- Add `django-colorfield` to `requirements/base.txt`
- Add `colorfield` to `INSTALLED_APPS`
- Change `TestExecutionStatus::color` from `models.CharField` to
  `colorfield.ColorField`
asankov added a commit to asankov/Kiwi that referenced this issue Dec 21, 2019
Refs kiwitcms#236

- Add `django-colorfield` to `requirements/base.txt`
- Add `colorfield` to `INSTALLED_APPS`
- Change `TestExecutionStatus::color` from `models.CharField` to
  `colorfield.ColorField`
- Add `Meta` subclass to `TestExecutionStatus`
- Update admin tests to assert that the admin view contains
  `Test execution statuses`
asankov added a commit to asankov/Kiwi that referenced this issue Dec 25, 2019
Refs kiwitcms#236

- Add `django-colorfield` to `requirements/base.txt`
- Add `colorfield` to `INSTALLED_APPS`
- Change `TestExecutionStatus::color` from `models.CharField` to
  `colorfield.ColorField`
- Add `Meta` subclass to `TestExecutionStatus`
- Update admin tests to assert that the admin view contains
  `Test execution statuses`
- Generate migrations for altering field
asankov added a commit to asankov/Kiwi that referenced this issue Dec 31, 2019
Refs kiwitcms#236

- Add `django-colorfield` to `requirements/base.txt` and `tarballs.txt`
- Add `colorfield` to `INSTALLED_APPS`
- Change `TestExecutionStatus::color` from `models.CharField` to
  `colorfield.ColorField`
- Add `Meta` subclass to `TestExecutionStatus`
- Update admin tests to assert that the admin view contains
  `Test execution statuses`
- Generate migrations for altering field
asankov added a commit to asankov/Kiwi that referenced this issue Dec 31, 2019
Refs kiwitcms#236

- Add `django-colorfield` to `requirements/base.txt` and `tarballs.txt`
- Add `colorfield` to `INSTALLED_APPS`
- Change `TestExecutionStatus::color` from `models.CharField` to
  `colorfield.ColorField`
- Add `Meta` subclass to `TestExecutionStatus`
- Update admin tests to assert that the admin view contains
  `Test execution statuses`
- Generate migrations for altering field
asankov added a commit to asankov/Kiwi that referenced this issue Jan 3, 2020
Refs kiwitcms#236

- Add `django-colorfield` to `requirements/base.txt` and `tarballs.txt`
- Add `colorfield` to `INSTALLED_APPS`
- Change `TestExecutionStatus::color` from `models.CharField` to
  `colorfield.ColorField`
- Add `Meta` subclass to `TestExecutionStatus`
- Update admin tests to assert that the admin view contains
  `Test execution statuses`
- Generate migrations for altering field
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.