Project Lead @concordion
Markdown is a simple, natural format for creating rich text:
## This is a H2
This is a paragraph
* This is a
* bullet point list
This is an [example](example.html "Title") link
| Table | Heading |
| ----- | ------- |
| Table | Row 1 |
| Table | Row 2 |
[Jane Smith](- '#name') |
|
[broken](- '#result = split(#name)') |
|
[Jane](- '?=#result.firstName') |
| [split][][Full Name][full] | [First][first] | [Last][last] |
| -------------------------- | -------------- | ------------ |
| John Smith | John | Smith |
| David Peterson | David | Peterson |
[split]: - "#result = split(#fullName)"
[full]: - "#fullName"
[first]: - "?=#result.firstName"
[last]: - "?=#result.lastName"
|[_check GST_][][Sub Total][]|[GST][]|
| -------------------------- | ----: |
| 100| 15|
| 500| 75|
| 20| 2|
[_check GST_]: - "c:verifyRows=#detail:getInvoiceDetails()"
[Sub Total]: - "?=#detail.subTotal"
[GST]: - "?=#detail.gst"
[Shipping](shipping.html "c:run")
or
[Shipping](shipping.md "c:run")
You can run HTML specs from Markdown and vice versa
### [Basic Example](- "basic")
The full name [Jane Smith](- "#name")
is [broken](- "#result = split(#name)")
into first name [Jane](- "?=#result.firstName")
and last name [Smith](- "?=#result.lastName").
Fields are now reset for each example (similar to JUnit).
If you want to keep field for whole specification:
@ConcordionScoped(Scope.SPECIFICATION)
private ScopedObjectHolder<Browser> browserHolder = new ScopedObjectHolder<Browser>() {
public Browser create() {
Browser browser = new Browser();
extension.setScreenshotTaker(new SeleniumScreenshotTaker(browser));
return browser;
}
protected void destroy(Browser browser) {
browser.close();
};
};
See concordion-scope-examples project for examples.
Markdown can be created/edited with all sorts of tools:
Concordion Support plugin
Surround with Concordion command | Alt - Enter |
---|---|
Create method from usage | Alt - Enter |
Auto complete method and variable names | Ctrl - space |
Go to declaration | Ctrl - left-click |
Navigate spec <-> fixture | Ctrl - Shift - s |
Run tests (from spec or fixture) | Ctrl - Shift - F10 |
Find usages | Ctrl - F7 |
---|---|
Rename | Shift - F6 |
Excel,
Parallel Runner,
Storyboard,
Screenshot,
Logging Tooltip,
Log Viewer
and more...
This presentation - http://tinyurl.com/concordion2-0