File: tbl-add-row-or-col.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 (20 lines) | stat: -rw-r--r-- 594 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
Feature: Add a row or column to a table
  In order to extend an existing table
  As a developer using python-docx
  I need methods to add a row or column


  Scenario: Add a row to a table
     Given a 2 x 2 table
      When I add a row to the table
      Then the table has 3 rows
       And the new row has 2 cells
       And the width of each cell is 3.0 inches


  Scenario: Add a column to a table
     Given a 2 x 2 table
      When I add a 1.0 inch column to the table
      Then the table has 3 columns
       And the new column has 2 cells
       And the new column is 1.0 inches wide