ApiaryActive
Try: pause · settings · learn · wipe
← Community / Reading Room
C
knowledge · 3 min read

Concordion

Concordion is a software testing framework that focuses on acceptance testing of web applications. It's an open-source tool, written in Java, designed to test…

Concordion is a software testing framework that focuses on acceptance testing of web applications. It's an open-source tool, written in Java, designed to test the behavior of web pages and ensure they behave as expected.

What is Concordion?

Concordion is built around the concept of "acceptance testing," which involves verifying that a system meets its requirements and behaves as expected by end-users. This approach emphasizes user stories and acceptance criteria over traditional unit tests or integration tests. The framework encourages developers to write tests in plain language, making it easier for stakeholders and users to understand what's being tested.

History of Concordion

Concordion was first released in 2006, created by Marc Lefebvre as a simple tool for automating acceptance testing. Over the years, it has evolved into a comprehensive framework with an active community contributing features, plugins, and documentation. Its design prioritizes simplicity, readability, and ease of use.

Key Features

  • Plain Language Tests: Concordion allows developers to write tests using natural language, making them more understandable for non-technical stakeholders.
  • Acceptance Testing Focus: The framework is designed specifically for acceptance testing, ensuring that the system meets its requirements.
  • Java-based: As a Java-based tool, it's particularly useful for projects already leveraging the Java ecosystem.

Why It Matters

Concordion matters in software development because it:

  • Ensures Correct Behavior: By verifying expected behavior, Concordion helps catch errors early and reduces the risk of downstream issues.
  • Improves Collaboration: Plain language tests facilitate communication between developers, stakeholders, and users, promoting a shared understanding of project requirements.
  • Fosters Continuous Integration: Automating acceptance testing with Concordion enables seamless integration into continuous integration/continuous deployment (CI/CD) pipelines.

Examples

  • Simple Example: A developer might write a test to ensure that when the user clicks on a "login" button, they are redirected to the login page. In Concordion, this would be written as: Given I am on the homepage When I click the login button Then I should see the login form
  • Complex Example: For more intricate scenarios, developers can use Concordion's features like conditional statements and data-driven testing.

How it Connects to Apiary Mission

Concordion aligns with the Apiary mission in several ways:

  • Self-governing AI agents: By ensuring that software systems behave correctly through acceptance testing, we're indirectly supporting the development of more reliable and predictable AI agents.
  • Bee conservation: While Concordion itself doesn't directly contribute to bee conservation, its focus on accurate system behavior mirrors the importance of precise data collection in environmental monitoring efforts.

APIary and Concordion

The connection between Apiary's mission and Concordion becomes clearer when considering how reliable software systems are crucial for effective AI development. As we strive to create more self-governing agents that interact with and support bee conservation, tools like Concordion help build a solid foundation for this endeavor.

FAQ

What programming languages is Concordion compatible with? Concordion itself is written in Java, but it's compatible with any programming language that can call its API. This includes Java-based applications, as well as others leveraging integration libraries and frameworks.

How do I get started with using Concordion for acceptance testing? To begin using Concordion, developers should start by familiarizing themselves with the framework through its official documentation. It's recommended to create a simple project to test out basic features before applying it to larger projects.

Is there an open-source version of Concordion available? Yes, Concordion is entirely open-source and can be used free-of-charge for any application or project.

Frequently asked
What programming languages is Concordion compatible with?
Concordion itself is written in Java, but it's compatible with any programming language that can call its API. This includes Java-based applications, as well as others leveraging integration libraries and frameworks.
How do I get started with using Concordion for acceptance testing?
To begin using Concordion, developers should start by familiarizing themselves with the framework through its official documentation. It's recommended to create a simple project to test out basic features before applying it to larger projects.
Is there an open-source version of Concordion available?
Yes, Concordion is entirely open-source and can be used free-of-charge for any application or project.
References & sources
  1. Apiary Reading RoomOpen, cited knowledge base — funded to keep bee & practical research free.
From the Apiary Reading Room. Opinion & editorial — not financial advice. We don't overclaim.
More from the Reading Room