Skip to content

Conversation

@Konboi
Copy link
Contributor

@Konboi Konboi commented Dec 15, 2025

To support split subset for v2 (a.k.a smart-tests)

Usage

 $smart-tests subset file --session @session.txt --subset-id 286 --bin 1/2 --target 20%
tests/commands/test_api_error.py
tests/commands/test_verify.py
tests/test_runners/test_jasmine.py
tests/args4p/converters/__init__.py
tests/commands/record/test_case_event.py
tests/data/pytest/tests/funcs3_test.py
tests/utils/test_gzipgen.py
tests/test_runners/test_adb.py
Smart Tests created subset 287 for build  (test session 513) in workspace konboi/pts-v2

|           |   Candidates |   Estimated duration (%) |   Estimated duration (min) |
|-----------|--------------|--------------------------|----------------------------|
| Subset    |            8 |                    19.05 |                       0.00 |
| Remainder |           34 |                    80.95 |                       0.00 |
|           |              |                          |                            |
| Total     |           42 |                   100.00 |                       0.00 |

Run `smart-tests inspect subset --subset-id 287` to view full subset details
$ smart-tests subset file --session @session.txt --subset-id 287 --bin 1/2 --target 5%
tests/commands/test_api_error.py
tests/commands/test_verify.py
Smart Tests created subset 288 for build  (test session 513) in workspace konboi/pts-v2

|           |   Candidates |   Estimated duration (%) |   Estimated duration (min) |
|-----------|--------------|--------------------------|----------------------------|
| Subset    |            2 |                     4.76 |                       0.00 |
| Remainder |           40 |                    95.24 |                       0.00 |
|           |              |                          |                            |
| Total     |           42 |                   100.00 |                       0.00 |

@Konboi Konboi force-pushed the support-split-option/impl branch from ba9ede3 to 10e124b Compare December 16, 2025 00:19
@launchable-app

This comment has been minimized.

@Konboi Konboi force-pushed the support-split-option/impl branch 2 times, most recently from f452a09 to aa85d03 Compare December 16, 2025 00:36
@Konboi Konboi force-pushed the support-split-option/impl branch from aa85d03 to 2d9befc Compare December 16, 2025 00:42
@Konboi Konboi marked this pull request as ready for review December 16, 2025 00:51
@Konboi Konboi marked this pull request as draft December 16, 2025 00:51
@Konboi Konboi force-pushed the support-split-option/impl branch from a0146e2 to f59bf30 Compare December 19, 2025 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants