File: tbl-item-access.feature

package info (click to toggle)
python-docx 1.2.0%2Bdfsg-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 7,216 kB
  • sloc: xml: 25,323; python: 23,414; makefile: 175
file content (24 lines) | stat: -rw-r--r-- 944 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Feature: Access table rows and columns
  In order to query and modify individual table items
  As a developer using python-docx
  I need the ability to access table rows and columns

  Scenario: Access table row collection
     Given a table having two rows
      Then I can access the row collection of the table
       And the length of the row collection is 2

  Scenario: Access row in row collection
     Given a row collection having two rows
      Then I can iterate over the row collection
       And I can access a collection row by index

  Scenario: Access table column collection
     Given a table having two columns
      Then I can access the column collection of the table
       And the length of the column collection is 2

  Scenario: Access column in column collection
     Given a column collection having two columns
      Then I can iterate over the column collection
       And I can access a collection column by index