-
Notifications
You must be signed in to change notification settings - Fork 6
Getting Started
Dirk Lehmann edited this page Aug 16, 2018
·
39 revisions
On this page you can find some simple examples, which should give you a quick start into CTM.
If you want to deepen your CTM knowledge, please see our CTM Guidebook on more configuration options.
In all given examples below we use GitHub issues to define our product requirements:
See our CTM Guidebook which other tools are supportted by CTM
- The product's source code is written in
Java
. Each automated test that safeguards a product requirement gets a specific comment which assigns the test to the corresponding product requirement.
...
/**
* Overwhelming complex test, which covers my
* product requirement #1
*/
// Trace(GitHub:doergn/sourcecodeRepo#1)
public void testApp() {
assertTrue(true);
}
...
Code example 1: Note the // Trace(GitHub:doergn/sourcecodeRepo#1)
comment which assign this test to product requirement #1
- CTM requires a configuration file to run:
{
"bla": "bla"
}
made with ❤ by SAP