我已经用SCXML实现了状态机,我需要知道如何从头到尾进行所有转换,以便为状态机做测试用例
Because SCXML is just XML, you can query it using xpath. For example, you can find all transitions using the following xpath query: //transition
You can find an example of how to use xpath in Java here: https://www.journaldev.com/1194/java-xpath-example-tutorial
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.