Skip to content

Commit bde0b24

Browse files
committed
Add vhs tape file to test it
1 parent 6de8a24 commit bde0b24

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-0
lines changed

samples/AdvancedApp/AdvancedApp.csproj

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@
1111
<RootNamespace>AdvancedApp</RootNamespace>
1212
</PropertyGroup>
1313

14+
<ItemGroup>
15+
<None Remove="multi-demo.tape" />
16+
</ItemGroup>
17+
18+
<ItemGroup>
19+
<Content Include="multi-demo.tape">
20+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
21+
</Content>
22+
</ItemGroup>
23+
1424
<ItemGroup>
1525
<ProjectReference Include="..\..\src\XenoAtom.CommandLine\XenoAtom.CommandLine.csproj" />
1626
<ProjectReference Include="..\..\src\XenoAtom.CommandLine.Terminal\XenoAtom.CommandLine.Terminal.csproj" />
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Does not work well on Windows, so you need to run it from Linux / macOS
2+
3+
# Output format (pick one)
4+
Output multi-demo.gif
5+
6+
# Visuals (adjust to taste)
7+
Set FontSize 20
8+
Set Width 1200
9+
Set Height 980
10+
Set TypingSpeed 80ms
11+
#Set WaitTimeout 10s
12+
13+
Sleep 200ms
14+
15+
# 1) multi.exe --help
16+
Type "./multi --help"
17+
Enter
18+
Sleep 1s
19+
Type "clear"
20+
Enter
21+
22+
# 2) --markup --help
23+
Type "./multi --markup --help"
24+
Enter
25+
Sleep 1s
26+
Type "clear"
27+
Enter
28+
29+
# 3) --visual --help
30+
Type "./multi --visual --help"
31+
Enter
32+
Sleep 1s
33+
Type "clear"
34+
Enter
35+
36+
# 4) hello ...
37+
Type "./multi hello --name Test --age 10 file1.txt file2.txt"
38+
Enter
39+
Sleep 500ms
40+
Type "clear"
41+
Enter
42+
43+
# 5) invalid options (no clear between them, per your script)
44+
Type "./multi --invalid-option"
45+
Enter
46+
Sleep 200ms
47+
Type "./multi --markup --invalid-option"
48+
Enter
49+
Sleep 200ms
50+
Type "./multi --visual --invalid-option"
51+
Enter
52+
Sleep 1s

0 commit comments

Comments
 (0)