Skip to content

Production Tests

Franz Miltz edited this page Aug 7, 2021 · 1 revision

What is a production test?

Production tests are categorised separately from other tests; they may be resource-intensive and may take some time to run. Production tests do not run when the user enters make test-essential (being non-important and/or expensive in execution time). If you want to run the Production test's in isolation then you can enter make test-production instead of the standard make test

How production tests are identified and omitted by 'make test-essential'

Production tests contain '_prod' at the end of the test name, as such:

TEST_F(<TestFixtureName>, productionTest_prod){
...
} 
Clone this wiki locally