What's Next
Ideas and proposals
Work in progress and issues:

Logo

Yes, this project does not have a logo yet 😱. Designers interested in helping us (for free 🙏), please contact us on our Slack Channel or open an Issue.
The logo should reflect the idea behind the language:
Concordia is the name of a roman goddess who was the personification of "concord" or "agreement". The idea is that the metalanguage may help users, stakeholders, and the software team to discuss and to reach an agreement about the software requirements. This shared understanding is essential to the software construction.
The tool generates test cases and test scripts that verify if the application under test meets the specified functional requirements. Therefore, the idea of "verification" or "testing" could be in the logo.

Plug-ins

Interested? See how to create a plug-in.
👉 Our next goal is a plugin for Cypress.
Suggestions:

Language

Variant Background

This language construction is part of Concordia Language since the first version, but it was not implemented yet.
A Variant Background defines steps that must be executed before all the Variants of a certain Scenario. Example:
1
Feature: Search
2
3
Scenario: Simple Search
4
5
Variant Background:
6
Given that I visit the [Search Page]
7
When I fill {Search} with "Hello"
8
9
Variant: Search by clicking on Go
10
When I click on {Go}
11
Then I see "Hello World!"
12
13
Variant: Search by hitting Enter
14
When I press "Enter"
15
Then I see "Hello World!"
Copied!
MOTIVATION: It allows to keep initial, repeated steps in a common place.

Constant names without quotation marks

Like this:
1
Constants:
2
- Net Price is 10.0
3
- hello is "hello"
Copied!
MOTIVATION: Simpler syntax.

Visual comparison

Please see Issue #27.
MOTIVATION: It allows to perform visual comparison and detect related bugs.

File content comparison

To use the characters """ (three quotation marks) to denote a text content to be compared. Example:
1
...
2
Then I see the file "out.txt" with
3
"""
4
This is some text to be compared.
5
It will probably
6
be compared to a
7
text file.
8
"""
Copied!
MOTIVATION: It facilitates comparisons with text files or multiple-line strings.

Table matching

To allow a given UI Element or UI Literal to match a certain Table.
Example 1:
1
Then I see the table {MyTable} as [Some Table]
Copied!
Example 2:
1
Then I see the table <myTable> as [Some Table]
Copied!
In which Some Table is declared like this:
1
Table: Some Table
2
| Name | Age |
3
| Bob | 21 |
4
| Suzan | 25 |
Copied!
It should make target table's rows to match the declared ones.
MOTIVATION: It facilitates the verification of expected data in tables from a user interface.
NOTES: Probably it requires to convert the Concordia Action to many abstract commands that verify every table row independently. Usually testing frameworks do not provide such kind of verification (for many rows at once).

Date and time expressions inside tables

Use Concordia 2 data and time expressions inside table rows. They must be written between ` or some other character. Example:
1
Table: Some Table
2
| Name | Age |
3
| Bob | `18 years ago` |
Copied!
MOTIVATION: Concordia Language allows date and time expressions inside UI Properties. Using them inside tables can be useful.

Dynamic states

States that vary according to some generated value. Example:
1
...
2
Given that I fill {User}
3
and I fill {Pass}
4
and I click on {OK}
5
Then I see "Welcome"
6
and I have ~{User Type} is logged in~
7
8
UI Element: User
9
- value comes from "SELECT user FROM [Users]"
10
11
UI Element: Pass
12
- value comes from "SELECT pass FROM [Users] WHERE user = {User}"
13
14
UI Element: User Type
15
- value comes from "SELECT user_type FROM [Users] WHERE user = {User}"
16
17
Table: Users
18
| user | pass | user_type |
19
| bob | 123456 | admin |
20
| joe | 654321 | guest |
21
| alice | 123456 | admin |
Copied!
According to the selected user, it will produce a different State. For example, when "bob" is selected, the produced state will be admin is logged in and when "joe" is selected, the produced state will be guest is logged in .
Thus, Features could depend on static or dynamic states.
MOTIVATION: Making states more flexible.

Alternative states

To provide a Given sentence that requires one - and only one - of the provided states. Example:
1
Variant: Example 1
2
Given that I have either ~x~ or ~y~
3
...
4
5
Variant: Example 2
6
Given one of ~x~, ~y~
7
...
Copied!
MOTIVATION: It allows to perform a XOR operation with the given states using natural language, aiming at choosing one and only one of the given states.

Annotations to parameterize combination strategies

To provide annotations parameterize a test combination strategy for a specific Feature.
For instance, to configure the combination of invalid values for a specific Feature:
1
@comb-invalid(1)
2
Feature: Example
Copied!
The annotations should correspond to the CLI parameters.
MOTIVATION: Increase the flexibility of the test generation procedure.

Multi-line queries

Currently:
1
- value comes from "SELECT name FROM [MyDB].profession"
Copied!
Proposal (to accept as valid):
1
- value comes from "SELECT name
2
FROM [MyDB].profession"`
Copied!
Alternative proposal:
1
- value comes from
2
"""
3
SELECT name
4
FROM [MyDB].profession
5
"""
Copied!
MOTIVATION: Make it easier to write/read SQL statements.

Compiler

Selection Options

  • Select a Feature for Test Case generation, without having to include its dependencies:
    • by importance value
  • Select a Scenario for Test Case generation:
  • Test Case for test script generation;

Watch Mode

  • Provide the option --watch to generate .testcase files when their corresponding .feature file changes or an imported .feature file changes. A new seed must be produced, except when explicitly provided (using --seed or configuration file).

Language Support

Concordia has language constructions that the Compiler does not support yet. Examples:
  • Variant Background: Implement Variant Background, which is part of the Concordia Language but was not implemented yet by the Concordia Compiler.
  • Support the tag @ignore in Features and Scenarios. Currently it is supported inVariants and Test Cases. Whether added to a Feature or a Scenario, it would not generate Test Cases.
  • Consider global UI Elements
    Make the tool processing UI Elements tagged with @global.
    Allow inheritance of UI Elements
    Use @extends( <name> ) to extend another UI Element.
    Example:
    1
    UI Element: Name
    2
    - min length is 2
    3
    - max length is 100
    4
    5
    @extends( Name )
    6
    UI Element: Emergency Contact Name
    7
    8
    # Emergency Contact Name inherits the properties from Name
    Copied!
  • Multiple declared Tables per query: Allow a query to reference more than one table declared in the specification.
  • Multiple declared Databases per query: Allow a query to reference more than one database declared in the specification.

New Test Cases

  • Test cases that explore SQL Injection: Using declared Databases and Queries to formulate Test Cases that generate strings with SQL Injection commands.
  • Test cases that use naughty strings as test data: Using a list of naughty strings as test data.

UI and Report

It is already possible to generate HTML or even PDF reports using the available plug-ins. However, these reports indicate the frameworks' results, not necessarily the ones from Concordia.
To provide the CLI parameter --report for indicating the corresponding plug-in. Example:
1
npx concordia --report html
Copied!
which should be equivalent to
1
npx concordia --report concordialang-report-html
Copied!

Tool integration

Integration with text editors

  • Create new projects for auto-completion plug-ins for text editors such as VS Code, Sublime Text, Atom, etc. Example for VS Code: gherkin-autocomplete.
  • Be able to run test scripts using Concordia from the IDE.

Integration with reporting tools

Performance improvements

Avoid generating test scripts when their Test Case files did not change

Keep some hash control or use Git information when available. Hashes can be stored in a .json or .yml file. Example:
1
{
2
"hashes": {
3
"feature1.testcase": "ox10JBprHtu5c8822XooloNKUfk=",
4
"subdir/feature2.testcase": "DMcj5b67Albe4KhpzyvphC5nVDHn1oCO",
5
}
6
}
Copied!

Generate unrelated files in parallel

NodeJS has made considerable progress since version 10.5 adding support to Worker Threads. Stable support for Worker Threads was added in version 12 LTS. Although, it would increase minimum requirements to install Concordia Compiler - currently it requires NodeJS 8.0.
Last modified 7mo ago