Usually we generate path from the source code using flow graph and use this path for unit/integration testing. In white box testing, there are some coverage criteria like branch coverage, condition coverage, MC/DC etc. that the path should cover. Most of the testing technique use this kind of coverage criteria. Suppose we find the following paths from a dummy source code:
1. 1-2-3-4-5-10
2. 1-2-3-4-6-10
3. 1-2-3-10
4. 1-2-7-10
5. 1-2-7-8-10
6. 1-2-7-8-9-10
My question is how to generate this path automatically? is there any tool support for that?