reframe icon indicating copy to clipboard operation
reframe copied to clipboard

Support generation of a test skeleton

Open teojgo opened this issue 4 years ago • 1 comments

It would be nice if ReFrame could generate the basic skeleton of a test from the command line, e.g:

reframe --generate 'MyTest'

would generate the python file with the bare minimum boilerplate for a test and the users can edit it according to their needs

teojgo avatar Apr 02 '21 09:04 teojgo

We should do this! This is a great idea. But I would vote to use a different syntax, something on the lines of

reframe create <MyClassName>

that we could something like

reframe create from RunOnlyRegressionTest <MyClassName> 

or from a library test

reframe create from GpuBurnCheck <MyClassName> 

victorusu avatar May 19 '21 13:05 victorusu