File: par-add-run.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 (16 lines) | stat: -rw-r--r-- 527 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Feature: Add a run with optional text and style
  In order to add distinctively formatted text to a paragraph
  As a python-docx programmer
  I want a way to add a styled run of text in a single step


  Scenario: Add a run specifying its text
    Given a paragraph
     When I add a run specifying its text
     Then the run contains the text I specified


  Scenario: Add a run specifying its style
    Given a paragraph
     When I add a run specifying the character style Emphasis
     Then run.style is styles['Emphasis']