File: par-add-run.feature

package info (click to toggle)
python-docx 0.8.11%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,640 kB
  • sloc: xml: 25,311; python: 21,911; makefile: 168
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']