Skip to content

Commit

Permalink
[IMP]business_requirement: add test case field (OCA#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
RawEvan authored and NachoAlesLopez committed Apr 27, 2024
1 parent b02a534 commit 5d729a9
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
9 changes: 6 additions & 3 deletions business_requirement/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ meet his/her requirements:
answer the customer story
* **Gap**: For the uncovered part of the scenario, elaborate the gap/need for specific
developments/setup
* **Test case**: A set of conditions under which a tester will determine whether the application, software system or
one of its features is working as it was originally established for it to do.
* **Deliverables** to be provided to the customer/user
* **Resources** necessary to achieve the deliverables
* **Additional** information (approval, cost control etc.)
Expand Down Expand Up @@ -153,14 +155,14 @@ Simple BR
:width: 600 px
:alt: Input header information

2. Input the customer story, scenario and gap (simple html editor with image and text)
2. Input the customer story, scenario gap and test case(simple html editor with image and text)

.. figure:: ../business_requirement/static/img/bus_req_cust_story.png
:width: 600 px
:alt: Input customer story, scenario, gap
:alt: Input customer story, scenario, gap and test case

3. Confirm the Business requirement (for BR User and Manager)
At that stage the Customer story/Scenario/Gap is not modifiable anymore
At that stage the Customer story/Scenario/Gap/Test case is not modifiable anymore

.. figure:: ../business_requirement/static/img/bus_req_confirmed.png
:width: 600 px
Expand Down Expand Up @@ -228,6 +230,7 @@ Contributors
* Alex Duan <alex.duan@elico-corp.com>
* Xie XiaoPeng <xie.xiaopeng@elico-corp.com>
* Victor M. Martin <victor.martin@elico-corp.com>
* Evan Li <li.aiwen@elico-corp.com>

Maintainer
----------
Expand Down
6 changes: 3 additions & 3 deletions business_requirement/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
{
'name': 'Business Requirement',
'category': 'Business Requirements Management',
'summary': 'Manage the Business Requirements (stories, scenarii and gaps) \
for your customers',
'version': '8.0.5.1.0',
'summary': 'Manage the Business Requirements (stories, scenarios, gaps\
and test cases) for your customers',
'version': '8.0.5.1.1',
'website': 'www.elico-corp.com',
"author": "Elico Corp, Odoo Community Association (OCA)",
'depends': [
Expand Down
5 changes: 5 additions & 0 deletions business_requirement/models/business.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ def _get_default_company(self):
readonly=True,
states={'draft': [('readonly', False)]}
)
test_case = fields.Html(
'Test Case',
readonly=True,
states={'draft': [('readonly', False)]}
)
category_ids = fields.Many2many(
'business.requirement.category',
string='Categories',
Expand Down
3 changes: 3 additions & 0 deletions business_requirement/views/business_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
<group string="Gap">
<field name="gap" nolabel="1"/>
</group>
<group string="Test Case">
<field name="test_case" nolabel="1"/>
</group>
</page>
<page string="Other Information">
<group col="12">
Expand Down

0 comments on commit 5d729a9

Please sign in to comment.