Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaScript support for Jasmine testing framework #27

Open
luca-digrazia opened this issue Jan 17, 2022 · 0 comments
Open

JavaScript support for Jasmine testing framework #27

luca-digrazia opened this issue Jan 17, 2022 · 0 comments

Comments

@luca-digrazia
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant