2017 © Pedro Peláez
 

project behat-junit-extension

Behat extension that reports with the JUnit format and is compatible with Moodle reruns.

image

moodlerooms/behat-junit-extension

Behat extension that reports with the JUnit format and is compatible with Moodle reruns.

  • Wednesday, March 8, 2017
  • by moodlerooms
  • Repository
  • 3 Watchers
  • 0 Stars
  • 2,728 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 11 % Grown

The README.md

Introduction

Behat extension that reports with the JUnit format and is compatible with Moodle reruns., (*1)

Install

Install with Composer:, (*2)

composer require --dev open-lms-open-source/behat-junit-extension

Usage

Activate the extension by specifying its class in your behat.yml:, (*3)

default:
    suites:
    ...

    extensions:
        BehatJUnitExtension\Extension:
            baseDir: /path/to/moodle
    ...

This is how you would do the above via Moodle's config file:, (*4)

$CFG->behat_config = [
    'default' => [
        'extensions' => [
            'BehatJUnitExtension\Extension' => [
                'baseDir' => __DIR__,
            ]
        ]
    ],
];

Be sure to call Behat with the formatter:, (*5)

behat -f moodle_junit -o reports_dir

Configuration

  • baseDir - (Optional) Just shortens JUnit XML file names.

Credits

Heavily inspired by:, (*6)

The Versions

08/03 2017

dev-master

9999999-dev

Behat extension that reports with the JUnit format and is compatible with Moodle reruns.

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

behat moodle junit

08/03 2017

1.0.0

1.0.0.0

Behat extension that reports with the JUnit format and is compatible with Moodle reruns.

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

behat moodle junit