Concordion Concordion Extensions 2 — Questions and Answers
Question 1: What does the concordion-spring extension primarily provide?
- Spring ApplicationContext integration for Concordion fixtures (Correct answer)
- Auto-generation of Spring bean specs
- Spring Security test helpers
- Spring Boot Actuator reporting
Correct answer: Spring ApplicationContext integration for Concordion fixtures
The concordion-spring extension wires the Spring ApplicationContext into Concordion fixtures, enabling @Autowired dependency injection.
Question 2: What is the Concordion Embed extension used for?
- Embedding HTML content returned by a fixture method directly into the report (Correct answer)
- Embedding an iframe from an external URL
- Embedding images using Base64
- Embedding JavaScript libraries
Correct answer: Embedding HTML content returned by a fixture method directly into the report
The Embed extension adds a concordion:embed command that inserts HTML returned by a fixture method into the rendered report.
Question 3: How does the Concordion Excel extension differ from standard Concordion?
- It lets you write specs in Excel spreadsheets instead of HTML (Correct answer)
- It exports HTML reports to Excel format
- It reads test data from Excel for HTML specs
- It generates Excel graphs from results
Correct answer: It lets you write specs in Excel spreadsheets instead of HTML
The Excel extension allows specifications to be authored in Excel .xlsx files, which Concordion then processes like HTML specs.
Question 4: What is a Concordion command extension?
- A custom concordion: attribute with its own evaluator and renderer (Correct answer)
- A JUnit test rule that extends Concordion
- An HTML macro that expands at build time
- A Maven plugin goal
Correct answer: A custom concordion: attribute with its own evaluator and renderer
A command extension registers a new concordion: attribute name paired with custom evaluation and rendering logic.
Question 5: What listener interface would you implement to add custom rendering to the Concordion HTML report?
- DocumentParsingListener or SpecificationProcessingListener (Correct answer)
- ReportListener
- HtmlOutputListener
- ConcordionPostProcessor
Correct answer: DocumentParsingListener or SpecificationProcessingListener
Concordion's Extension API provides several listener interfaces including DocumentParsingListener that let extensions modify the rendered output.
Question 6: What does the Storyboard extension add to Concordion reporting?
- A visual storyboard showing steps and screenshots of each test scenario (Correct answer)
- A Kanban board of test statuses
- An animated GIF of the test run
- A UML sequence diagram
Correct answer: A visual storyboard showing steps and screenshots of each test scenario
The Storyboard extension captures a sequence of screenshots and notes during a test, presenting them as a visual story in the report.
What does the concordion-spring extension primarily provide?