Build
This option, available in the test maker configuration file, allows you to parametrize your source code build. You have three main categories of parameters that can be set.
Options
Name | Type | Description |
---|---|---|
cleanUp | object | With each build, you can delete the content of some folders. |
compiler | object | You can set some compiling options. |
output | object | You can set some compiling options. |
cleanUp
With each build, you can delete the content of some folders.
Options
Name | Type | Description |
---|---|---|
reports | boolean | You can choose to have your reports folder to be emptied on each build. |
tests | boolean | You can choose to have your tests folder, which contains the compiled version of your code, to be emptied on each build. |
compiler
You can set some compiling options.
Options
Name | Type | Description |
---|---|---|
compileOnly | boolean | Allows you to proceeds to a compilation of your tests without the test execution. |
failOnError | boolean | Your test compilation shall fail if any error is present inside your code. |
failOnWarning | boolean | Your test compilation shall fail if any warning is present inside your code. |
typescript | object | You can set your typescript options. |
typescript
You can choose whether to enable the typechecking during your compilation.
Name | Type | Description |
---|---|---|
typeCheck | boolean | If set as false, your test compilation shall fail if any error occurs in the process of verifying and enforcing constraints of types in values. |
typescript: {
typeCheck: true
}
output
You can act on the folder with the output following a compilation.
Options
Name | Type | Description |
---|---|---|
path | string | You can change the path of the generated folder that will contain your compiled code and your reports folder. |