concordion

Using variables in Concordion markdown

流过昼夜 提交于 2019-12-25 06:49:59
问题 When writing a test specification in Concordion, you sometimes want to include the output of a call in the script. For example, I want to test a REST service by posting a new object to it and then verifying that the returned object includes its own URI string. In these circumstances, I think it's right that the format of the URI string is included in the test script rather than buried within a fixture. Assuming that an object named newProduct has been created somehow, I would like to write

How to run concordion test with maven?

笑着哭i 提交于 2019-12-11 11:58:43
问题 I am wondering how to set up maven to run concordion tests having a FooFixture.java naming convention. The tests are on the classpath in src/test/specs. I would like to do it in a separate profile. Thanks for the help. 回答1: I finally set the tests up is by creating a different profile to run the acceptance tests. An example given here: <profile> <id>acceptance-test</id> <activation> <property> <name>type</name> <value>acceptance</value> </property> </activation> <build> <plugins> <plugin>