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

Add command line argument to specify screenshot save directory #97

Merged
merged 4 commits into from
Mar 24, 2024

Conversation

nowsprinting
Copy link
Owner

@nowsprinting nowsprinting commented Mar 24, 2024

Changed the default screenshot save directory.
This feature is inherited from test-helper v0.5. see: nowsprinting/test-helper#63

Before:

Application.persistentDataPath+/TestHelper.Monkey/Screenshots

After:

First, command line argument "-testHelperScreenshotDirectory".
If the command line argument is omitted, Application.persistentDataPath + "/TestHelper/Screenshots/" is used. (removed .Monkey)

Before: Application.persistentDataPath+/TestHelper.Monkey/Screenshots

After:
1. command line argument "-testHelperScreenshotDirectory"
2. Application.persistentDataPath+/TestHelper/Screenshots
@github-actions github-actions bot added the enhancement New feature or request label Mar 24, 2024

This comment has been minimized.

This comment has been minimized.

@nowsprinting nowsprinting force-pushed the feature/screenshotpath branch from 8dd2d0b to 46174ed Compare March 24, 2024 02:22

This comment has been minimized.

@nowsprinting nowsprinting force-pushed the feature/screenshotpath branch from 46174ed to f672075 Compare March 24, 2024 02:36
Copy link

Code Metrics Report

master (765ed1b) #97 (e3704a5) +/-
Coverage 76.8% 76.7% -0.1%
Code to Test Ratio 1:1.2 1:1.2 +0.0
Test Execution Time 4m21s 4m25s +4s
Details
  |                     | master (765ed1b) | #97 (e3704a5) |  +/-  |
  |---------------------|------------------|---------------|-------|
- | Coverage            |            76.8% |         76.7% | -0.1% |
  |   Files             |               29 |            29 |     0 |
  |   Lines             |              630 |           627 |    -3 |
- |   Covered           |              484 |           481 |    -3 |
+ | Code to Test Ratio  |            1:1.2 |         1:1.2 |  +0.0 |
  |   Code              |             1303 |          1299 |    -4 |
- |   Test              |             1615 |          1614 |    -1 |
- | Test Execution Time |            4m21s |         4m25s |   +4s |

Code coverage of files in pull request scope (100.0% → 100.0%)

Files Coverage +/-
Runtime/ScreenshotOptions.cs 100.0% 0.0%

Reported by octocov

@nowsprinting nowsprinting merged commit c568e2f into master Mar 24, 2024
9 checks passed
@nowsprinting nowsprinting deleted the feature/screenshotpath branch March 24, 2024 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant