Test cases / slides

deft slides to-text

Extract the text of every slide, form feed between slides

1 run on real files, 3 tests on generated files, not shown. 0 failed.

Real-file tasks

Real files and a plain-language job, from the agent benchmark. These are the reference answers, not an agent run.

Read a deck with notesPassed

Extract all the text of show.pptx, including the speaker notes, into show.txt.

deft slides to-text show.pptx --notes -o show.txt

Input

show.pptx 38.2 KB
Rendered by macOS Quick Look, first page

Rendered by macOS Quick Look, first page

Text inside
[ppt/slides/slide1.xml] Title of the first slide Subtitle of the first slide This bit is in italic green
[ppt/slides/slide2.xml] This is the second slide It has bullet points on it They’re fun, aren’t they? Especially in a different font like Arial Black at 16 point!

Output

show.txt 331 B
Title of the first slide

- Subtitle of the first slide
- This bit is in italic green

I am the notes of the first slide



This is the second slide

- It has bullet points on it
- They’re fun, aren’t they?
- Especially in a different font like Arial Black at 16 point!

These are the notes of the 2nd slide
THIS LINE IS BOLD
Automatic checks (1)
  • text: file = "show.txt", contains = ["Title of the first slide", "I am the notes of the first slide"]