Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration Testing! And some other QOL stuff #15

Merged
merged 6 commits into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.MP4 filter=lfs diff=lfs merge=lfs -text
*.mp4 filter=lfs diff=lfs merge=lfs -text
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
/target
output
tests/working_test_data
tests/real_videos
146 changes: 79 additions & 67 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,69 +1,81 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug in test",
"cargo": {
"args": [
"build",
"--bin=gopro-chaptered-video-assembler",
"--package=gopro-chaptered-video-assembler"
],
"filter": {
"name": "gopro-chaptered-video-assembler",
"kind": "bin"
}
},
"args": ["-i", "tests/working_test_data", "-o", "tests/output"],
"cwd": "${workspaceFolder}",
"env": {
"RUST_BACKTRACE": "1"
}
},
{
"type": "lldb",
"request": "launch",
"name": "Debug in apostrophe",
"cargo": {
"args": [
"build",
"--bin=gopro-chaptered-video-assembler",
"--package=gopro-chaptered-video-assembler"
],
"filter": {
"name": "gopro-chaptered-video-assembler",
"kind": "bin"
}
},
"args": ["-i", "tests/working_test_data/Test's Apostrophe", "-o", "tests/output"],
"cwd": "${workspaceFolder}",
"env": {
"RUST_BACKTRACE": "1"
}
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'gopro-chaptered-video-assembler'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=gopro-chaptered-video-assembler",
"--package=gopro-chaptered-video-assembler"
],
"filter": {
"name": "gopro-chaptered-video-assembler",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug in test",
"cargo": {
"args": [
"build",
"--bin=gopro-chaptered-video-assembler",
"--package=gopro-chaptered-video-assembler"
],
"filter": {
"name": "gopro-chaptered-video-assembler",
"kind": "bin"
}
]
}
},
"args": [
"--input",
"/home/alichtman/Desktop/Development/projects/gopro-chaptered-video-assembler/tests/data/real_videos",
"--output",
"/home/alichtman/Desktop/Development/projects/gopro-chaptered-video-assembler/tests/data/actual_output",
"--yes",
"--copy-single-chapter-instead-of-rename"
],
"cwd": "${workspaceFolder}",
"env": {
"RUST_BACKTRACE": "full"
}
},
{
"type": "lldb",
"request": "launch",
"name": "Debug in apostrophe",
"cargo": {
"args": [
"build",
"--bin=gopro-chaptered-video-assembler",
"--package=gopro-chaptered-video-assembler"
],
"filter": {
"name": "gopro-chaptered-video-assembler",
"kind": "bin"
}
},
"args": [
"-i",
"tests/working_test_data/Test's Apostrophe",
"-o",
"tests/output"
],
"cwd": "${workspaceFolder}",
"env": {
"RUST_BACKTRACE": "1"
}
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'gopro-chaptered-video-assembler'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=gopro-chaptered-video-assembler",
"--package=gopro-chaptered-video-assembler"
],
"filter": {
"name": "gopro-chaptered-video-assembler",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}
Loading
Loading