Concordion Concordion Fundamentals 1 — Questions and Answers
Question 1: What type of testing framework is Concordion?
- Acceptance testing framework (Correct answer)
- Unit testing framework
- Load testing framework
- Security testing framework
Correct answer: Acceptance testing framework
Concordion is an open-source acceptance testing framework that lets you write specifications in plain English.
Question 2: Which programming language is Concordion primarily associated with?
- Java (Correct answer)
- Python
- Ruby
- C#
Correct answer: Java
Concordion was originally built for Java, though ports exist for other languages.
Question 3: What file format does Concordion use for writing specifications?
- HTML (Correct answer)
- XML
- JSON
- YAML
Correct answer: HTML
Concordion specifications are written as HTML documents with special concordion: attributes.
Question 4: What is the primary goal of Concordion's Living Documentation?
- Keep specifications synchronized with implementation (Correct answer)
- Generate API docs automatically
- Replace unit tests
- Store test results in a database
Correct answer: Keep specifications synchronized with implementation
Living Documentation ensures that the specification HTML files remain accurate and up-to-date as the code evolves.
Question 5: Which annotation marks a Java class as a Concordion fixture?
- @RunWith(ConcordionRunner.class) (Correct answer)
- @ConcordionTest
- @Suite
- @ExtendWith(Concordion.class)
Correct answer: @RunWith(ConcordionRunner.class)
Annotating a class with @RunWith(ConcordionRunner.class) tells JUnit to use the Concordion runner.
Question 6: Where does Concordion look for the HTML specification file by default?
- Same package as the fixture class on the classpath (Correct answer)
- src/test/resources root
- src/main/resources
- target/classes
Correct answer: Same package as the fixture class on the classpath
By default, Concordion resolves the spec HTML file from the same classpath package as the fixture class.
What type of testing framework is Concordion?