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

Focused and Pending specs + ObjectMatcher.toBeInstanceOf() #35

Merged
merged 30 commits into from
May 15, 2017

Conversation

peterklijn
Copy link
Contributor

This PR covers issues:

It adds toBeInstanceOf() to object matcher:

expect("Hello Oleaster").toBeInstanceOf(String.class);

It adds the Jasmine style 'Focused specs', adding the ability to run a test or a set of tests on their own:

describe("Suite", () -> {
    it("will not run", () -> {
        assertTrue(false);
    });

    fit("will run", () -> {
        assertTrue(true);
    });
});

It adds the Jasmine style 'Pending specs', adding the ability to skip a test or set of tests:

describe("Suite", () -> {
    xit("will not run", () -> {
        assertTrue(false);
    });

    it("will run", () -> {
        assertTrue(true);
    });
});

awulder and others added 30 commits March 24, 2017 09:52
Fixed incomplete instanceOf assertion
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

Successfully merging this pull request may close these issues.

3 participants