Jasmine Spec Reporter Versions Save

Real time console spec reporter for jasmine testing framework

v7.0.0

3 years ago

Bugfix

  • 'SpecReporter' is not assignable to type 'Reporter | CustomReporter' #588

Breaking change

Update signature of CustomReporterResult to fix collision with new jasmine properties

Before:

export interface CustomReporterResult extends jasmine.CustomReporterResult {
  duration?: string;
}

Now:

export interface CustomReporterResult extends jasmine.CustomReporterResult {
  _jsr?: {
    formattedDuration?: string;
  };
}

v6.0.0

3 years ago

Feature

  • Use colors/safe #538

Breaking change

String prototype does not contain color properties anymore, colors must now be applied with the new theme component available as a field in custom display processors.

Before:

class MyProcessor extends DisplayProcessor {
    public displaySuccessfulSpec(spec: CustomReporterResult, log: string): string {
        return "OK ".successful + log;
    }
}

Now:

class MyProcessor extends DisplayProcessor {
    public displaySuccessfulSpec(spec: CustomReporterResult, log: string): string {
        return this.theme.successful("OK ") + log;
    }
}

v5.0.2

4 years ago

Bugfix

  • pretty stacktrace: catch uncaught exception on node internal files #479

v5.0.1

4 years ago

Bugfix

  • Promote colors as a dependency #472

v5.0.0

4 years ago

Feature

  • New option to display pretty stacktraces #467

Breaking change

displayStacktrace options now take a value among none, raw and pretty.

v4.2.1

6 years ago

Bugfix

  • Restore compatibility with jasmine < 2.5.0 #222, #223

v4.2.0

6 years ago

Feature

  • Support reporting errors in afterAll #210, #214

v4.1.1

6 years ago

Bugfix

  • Correct report from jasmineStarted event #185

v4.1.0

7 years ago

Feature

  • If any defined spec is not executed, report INCOMPLETE rather than SUCCESS #142, #145

Other

  • Rewrite unit tests by bumping jasmine-core to 2.6.x #155
  • Use yarn for development #98, #138
  • Add greenkeeper-yarn.sh to automatically updates yarn.lock on greenkeeper PR

v4.0.0

7 years ago
  • Use string primitive instead of String wrapper object #134, #137

Breaking change

It only impacts TypeScript integrations, DisplayProcessor methods signature now use string instead of String.

Before:

displaySuite(suite: CustomReporterResult, log: String): String;

Now:

displaySuite(suite: CustomReporterResult, log: string): string;