connorshea / vscode-ruby-test-adapter

A Ruby test adapter extension for the VS Code Test Explorer
https://marketplace.visualstudio.com/items?itemName=connorshea.vscode-ruby-test-adapter
MIT License
83 stars 50 forks source link

Returned JSON does not contain nested tests result. #40

Closed antondalgren closed 4 years ago

antondalgren commented 4 years ago

Your environment

Expected behavior

Expect the returning JSON to contain results from all tests, including nested tests.

describe ClassToTest do
  describe 'method' do
    it 'returns JSON as expected' do

    end
    describe 'another context in method' do
      it 'returns JSON as expected' do

      end
    end
  end
end

Actual behavior

describe ClassToTest do
  describe 'method' do
    it 'returns JSON as expected' do

    end
    describe 'another context in method' do
      it 'Test runs successfully but does not report the results to JSON' do

      end
    end
  end
end
connorshea commented 4 years ago

This should be fixed in 0.7.0 thanks to #37, please reopen it if it's not.