-
Notifications
You must be signed in to change notification settings - Fork 35
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
Ability to call one or more smashbox tests from within a smashbox test #8
Comments
Basically it's about having super-testsets or multi-level testsets. A testset that lets you specify a test file with other parameters like "apps to enable" and other config settings. |
I am not really sure if I understand what you would like to achieve. Do you want to make dependencies between the tests? Is smash -a option to run over all test tests not enough? Do you need a driver around smash so that you can call it multiple times? Could you please illustrate an example of what you want? |
I think what I want is "collections". I want to be able to run multiple tests at the same time, for instance test_shareGroup and test_shareDir. |
A quick workaround: try to specify
|
This is more about providing a super-testset that looks like this: [
{
testsToRun: ['test_upload.py', 'test_whatever.py'],
appsToEnable: ['files_encryption'],
someExpectedResult: ...
},
{
testsToRun: ['test_upload.py', 'test_whatever.py'],
appsToEnable: ['files_encryption', 'files_versions'],
someExpectedResult: ...
},
] and that could for example be in a supertest called "test_dosensiblestuffwithencryption". Basically having one test be able to run other tests. Maybe add a utility function "run_subtest('test_upload')" that makes it possible to run a test within a worker. |
It is possible to run |
And then write shell scripts to run the command on the same folder multiple times with different configs/cases ? (With encryption, without encryption, etc). |
I'd like to be able to call one or more smashbox tests from within a smashbox test to allow for concurrent runs. Is this possible?
@PVince81
The text was updated successfully, but these errors were encountered: