Skip to content
This repository was archived by the owner on Aug 28, 2022. It is now read-only.
This repository was archived by the owner on Aug 28, 2022. It is now read-only.

Use describe names for the suite name #179

@VladimirCW

Description

@VladimirCW

I want to have possibility to use sub suites - so the full test name will contain the whole root suite names from the describe name

So for the following test 4 test should be created
For now it will be only 2 tests

describe('Root suite', () => {

  describe('Nested root suite 1', () => {
    it('first assert', async () => {
      expect(true).toEqual(true);
    });
  });

  it('second assert', async () => {
    expect(true).toEqual(true);
  });

  describe('Nested suite 2', () => {
    it('first assert', async () => {
      expect(true).toEqual(true);
    });

    it('second assert', async () => {
      expect(true).toEqual(false);
    });
  });
});

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions