Skip to content

JavaScript support for Jasmine testing framework #27

@luca-digrazia

Description

@luca-digrazia

Jasmine is a behavior-driven development framework for testing JavaScript code. It does not depend on any other JavaScript frameworks. It does not require a DOM. And it has a clean, obvious syntax so that you can easily write tests.

A code example to use this framework is:

describe("A suite is just a function", function() {
  var a;

  it("and so is a spec", function() {
    a = true;

    expect(a).toBe(true);
  });
});

DiffSearch does not support the second argument of this method call ( function(){...} ) at the moment. As a result, the goal of this task is to include the above support. The first step is to look at the file DiffSearch/src/main/resources/ANTLR/ECMAScript.g4 to check where the incompatibility is located. Then, the grammar should be edited to fix the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions