Skip to content

Commit

Permalink
Add notes to README about running tests from the Ruby Console.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomthom committed Nov 28, 2024
1 parent df1f637 commit 398c394
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,16 @@ Path: "%CONFIG_DIR%/tests/TestUp UI Tests"
Output: "%CONFIG_DIR%/tests/ui-tests-results.json"
```
## Running from Ruby Console
```rb
tests = [
"TC_Sketchup_Model#test_active_section_planes.+",
]
path = "C:/src/testup-2/tests/SketchUp Ruby API/"
TestUp::API.run_tests(tests, path: path, options: { ui: false })
```
## Troubleshooting
### Minitest
Expand Down

0 comments on commit 398c394

Please sign in to comment.