Skip to content

Commit

Permalink
Merge pull request #76 from drashland/issue-#16-skipped-functionality
Browse files Browse the repository at this point in the history
Issue #16 skipped functionality
  • Loading branch information
crookse authored Oct 20, 2020
2 parents 9bc6ffe + c13e7b0 commit aa42e33
Show file tree
Hide file tree
Showing 12 changed files with 1,183 additions and 240 deletions.
69 changes: 69 additions & 0 deletions example_tests/test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
import { Rhum } from "../mod.ts";

Rhum.testPlan(() => {
Rhum.skip("testSuite 1: skipped", () => {
Rhum.testCase("skipped", () => {
Rhum.asserts.assertEquals(true, true);
});
Rhum.testCase("skipped", () => {
Rhum.asserts.assertEquals(true, true);
});
});

Rhum.skip("testSuite 2: skipped", () => {
Rhum.testCase("skipped", () => {
Rhum.asserts.assertEquals(true, true);
});
});

Rhum.testSuite("testSuite 3", () => {
Rhum.testCase("testCase", () => {
Rhum.asserts.assertEquals(true, true);
});
Rhum.skip("skipped", () => {
Rhum.asserts.assertEquals(true, true);
});
Rhum.skip("skipped", () => {
Rhum.asserts.assertEquals(true, true);
});
});

Rhum.testSuite("testSuite 4", () => {
Rhum.skip("skipped", () => {
Rhum.asserts.assertEquals(true, true);
});
Rhum.testCase("testCase", () => {
Rhum.asserts.assertEquals(true, true);
});
});

Rhum.testSuite("testSuite 5", () => {
Rhum.skip("skipped", () => {
Rhum.asserts.assertEquals(true, true);
});
Rhum.skip("skipped", () => {
Rhum.asserts.assertEquals(true, true);
});
Rhum.testCase("testCase", () => {
Rhum.asserts.assertEquals(true, true);
});
});

Rhum.skip("testSuite 6: skipped", () => {
Rhum.testCase("skipped", () => {
Rhum.asserts.assertEquals(true, true);
});
});

Rhum.testSuite("testSuite 7", () => {
Rhum.testCase("testCase", () => {
Rhum.asserts.assertEquals(true, true);
});
Rhum.skip("skipped", () => {
Rhum.asserts.assertEquals(true, true);
});
Rhum.testCase("fail", () => {
Rhum.asserts.assertEquals(false, true);
});
});
});
Loading

0 comments on commit aa42e33

Please sign in to comment.