1. Preface
    1. About MarathonITE
    2. Supported Platforms
      1. Java/Swing™
      2. Java/FX™
      3. Web Applications
    3. What's New in MarathonITE 5.0
    4. Change Log a.k.a Version History
    5. System Requirements
    6. Copyright Notice
  2. Getting Started
    1. Introduction to Test Automation
      1. Unattended Testing
      2. Semi Automated Testing
      3. Exploratory Testing
    2. MarathonITE Projects
    3. Your First Project
      1. Java/Swing™ Test Project
        1. Application Under Test - SwingSet3
        2. Creating a Project
        3. Recording a Test
        4. Anatomy of a Test Script
        5. Running Tests
        6. Looking at Results
      2. Java/FX™ Test Project
        1. Application Under Test - Ensemble
        2. Creating a Project
        3. Recording a Test
        4. Anatomy of a Test Script
        5. Running Tests
        6. Looking at Results
      3. Web Application Test Project
        1. Application Under Test - DuckDuckGo Search
        2. Creating a Project
        3. Recording a Test
        4. Anatomy of a Test Script
        5. Running Tests
        6. Looking at Results
    4. MarathonITE Sample Projects
  3. User Guide
    1. Installation and Startup
    2. MarathonITE User Interface
      1. Views
      2. Editors
      3. Output Views
    3. Creating Marathonite Test Projects
    4. Recording Tests
    5. Managing Checklists
    6. Exploratory Tests
    7. Semi Automated Tests
    8. Executing Tests
      1. Executing a Test from Editor
        1. Debugging Scripts
        2. Using Script Console
      2. Executing Tests from Test Runner
      3. Executing Tests in Batch Mode
    9. Organizing Tests
      1. Organizing Tests in Folder Heirarchy
      2. Organizing Tests as Features and Stories
      3. Organizing Tests in Suites
      4. Linking Tests to TMS and Issue Manager
    10. Modularizing Test Scripts
      1. Module Methods
      2. Extract Method Refactoring
      3. Using Data Loops
      4. Convert to Data Loop Refactoring
    11. Data Driven Tests
      1. Convert to DDT Refactoring
  4. Advanced Scripting
    1. Ruby Programming Language
    2. Marathon and Ruby
    3. Selenium/WebDriver Bindings
      1. Java/Swing™ Components
      2. Java/FX™ Controls

3.9.2.Organizing Tests as Features and Stories

Behavior Driven Development is a software development process that is used by some teams. In BDD the unit of development is a Story. Multiple stories are grouped together as Features.

MarathoITE allows you to organize tests as features and stories. MarathonITE does not enforce strict conditions and uses a feature or a story as grouping mechanism.

Working with Features

MarathonITE saves the feature information in a .feature file within Features folder in the project. The feature file is saved in JSON format.

Creating Features

To create a new feature, select File->New->New Feature option from the menu.

Creating a Feature - Marathonite

MarathonITE displays a popup window. Provide the name of the feature and click on OK.

Naming a Feature - Marathonite

MarathonITE creates the new feature and opens it in the editor. The editor displays two panes. The left pane displays all the tests that are available and the right pane contains the list of tests added to the feature.

Features Editor - Marathonite

Drag and Drop the tests into the feature. You can rearrange the order of tests by using the Up and Down buttons. Remove tests from the feature using Remove button.

Use Click button or Control+S (CMD+S on Mac) to save the feature.

Executing Features

To execute all the tests in a feature, select Play option from the context menu. MarathonITE opens the Test Runner view and executes the tests.

Batch Running of Features

You can execute one or more features using MarathonITE batch mode.

Working with Stories

MarathonITE saves the story information in a .story file within Stories folder in the project. The story file is saved in JSON format.

Creating Stories

To create a new story, select File->New->New Story option from the menu.

Creating a Story - Marathonite

MarathonITE displays a popup window. Provide the name of the story and click on OK.

Naming a Story - Marathonite

MarathonITE creates the new story and opens it in the editor. The editor displays two panes. The left pane displays all the tests that are available and the right pane contains the list of tests added to the story.

Story Editor - Marathonite

Drag and Drop the tests into the story. You can rearrange the order of tests by using the Up and Down buttons. Remove tests from the story using Remove button.

Use Click button or Control+S (CMD+S on Mac) to save the story.

Executing Stories

To execute all the tests in a story, select Play option from the context menu. MarathonITE opens the Test Runner view and executes the tests.

Batch Running of Stories

You can execute one or more stories using MarathonITE batch mode.

Reports

MarathonITE uses allure reports to render the reports. When tests are organized as features and stories, the Behaviors section of the report display the reports grouped by features and stories.

Report Showing Behaviours - Marathonite
Suggest Edit