Skip to content

Run subset of specs from file #4

@SebastianSolidwork

Description

@SebastianSolidwork

I'd like to select which describe or it should be executed from a file. Especial during the development of concrete test case i just want to execute that single one, not all others included in the test.
Therefore should the file analysed and a visual hierarchy presented. Maybe from the context menu.

describe('1', ()=> {
  describe('1.1', ()=> {
    it('1.1.1', ()=> {
    })
    it('1.1.2', ()=> {
    })
  })
  describe('1.2', ()=> {
    it('1.2.1', ()=> {
    })
    describe('1.2.1', ()=> {
    })
  })
})
describe('2', ()=> {
    it('2.1', ()=> {
    })
    it('2.1', ()=> {
    })
  })
})

Should result in:

  • 1
    • 1.1
      • 1.1.1
      • 1.1.2
    • 1.2
      • 1.2.1
      • 1.2.2
  • 2
    • 2.1
    • 2.2

Every level should be selectable .
Is this possible here? Or does it depends to much on jamsine?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions