Skip to content

Commit c3dc7cb

Browse files
committed
add slides
1 parent e025313 commit c3dc7cb

10 files changed

Lines changed: 30 additions & 7 deletions

File tree

slides/README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22

33
This directory contains the slide decks for the workshop, created using [Marp](https://marp.app/).
44

5-
## Slides
6-
7-
1. [Introduction & Spring Boot Testing Basics](lab-1.md)
8-
2. [Sliced Testing](lab-2.md)
9-
3. [Integration Testing](lab-3.md)
10-
4. [Best Practices & Pitfalls](lab-4.md)
11-
125
## How to View
136

147
### Using Marp CLI

slides/lab-1.pdf

8.02 MB
Binary file not shown.

slides/lab-2.pdf

3.93 MB
Binary file not shown.

slides/lab-3.pdf

3.19 MB
Binary file not shown.

slides/lab-4.pdf

3.35 MB
Binary file not shown.

slides/lab-5.pdf

2.74 MB
Binary file not shown.

slides/lab-6.pdf

6.7 MB
Binary file not shown.

slides/lab-7.pdf

2.14 MB
Binary file not shown.

slides/lab-8.pdf

5.57 MB
Binary file not shown.

slides/render-pdf.sh

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/bin/bash
2+
3+
# Script to render all lab slides (lab-1 through lab-8) into individual PDFs
4+
# Requires Marp CLI: npm install -g @marp-team/marp-cli
5+
6+
set -e
7+
8+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
9+
10+
if ! command -v marp &> /dev/null; then
11+
echo "Error: Marp CLI not found. Please install it first:"
12+
echo " npm install -g @marp-team/marp-cli"
13+
exit 1
14+
fi
15+
16+
cd "$SCRIPT_DIR"
17+
18+
echo "Rendering individual lab PDFs..."
19+
20+
for lab in 1 2 3 4 5 6 7 8; do
21+
labFile="lab-${lab}.md"
22+
if [ ! -f "$labFile" ]; then
23+
echo "Warning: $labFile not found, skipping."
24+
continue
25+
fi
26+
echo " Rendering $labFile..."
27+
marp --pdf "$labFile" --theme pragmatech.css --allow-local-files
28+
done
29+
30+
echo "Done! PDFs saved alongside each lab-N.md file."

0 commit comments

Comments
 (0)