Skip to content

Fixed issue with Sonar Test reporter giving bad reports with suitepath. - #433

Merged
Pazus merged 5 commits into
developfrom
feature/sonar_test_reporter_fix
Aug 5, 2017
Merged

Fixed issue with Sonar Test reporter giving bad reports with suitepath.#433
Pazus merged 5 commits into
developfrom
feature/sonar_test_reporter_fix

Conversation

@jgebal

@jgebal jgebal commented Aug 2, 2017

Copy link
Copy Markdown
Member

Resolves #413
@Pazus, please verify the test for TeamCity test reporter as it seems to be giving suspicious outputs with suitepath too.
Do we need to fix this?

Resolves #413
@Pazus, please verify the test for TeamCity test reporter as it seems to be giving suspicious outputs with suitepath too.
Do we need to fix this?
@jgebal jgebal added the bugfix label Aug 2, 2017
@jgebal jgebal added this to the v3.1.0 milestone Aug 2, 2017
@jgebal
jgebal requested a review from Pazus August 2, 2017 22:37
begin
l_expected := q'{##teamcity[testSuiteStarted timestamp='%' name='A suite for testing different outcomes from reporters']
l_expected := q'{%##teamcity[testSuiteStarted timestamp='%' name='org']
%##teamcity[testSuiteStarted timestamp='%' name='utplsql']

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Pazus I'm not sure If this would actually be a valid sequence of messages on TeamCity.
Mainly due to the fact that we have suitepath=org.utplsql.utplsql.test.
Maybe teamcity suite name should actually show path? Like it is done in XUnit reporter (see the XUnit test below).

jgebal added 2 commits August 5, 2017 00:59
Fixed a bug where sonar_test_reporter was reporting test files as nested due to suitepath nesting.
l_expected varchar2(32767);
begin
l_expected := q'{##teamcity[testSuiteStarted timestamp='%' name='A suite for testing different outcomes from reporters']
l_expected := q'{%##teamcity[testSuiteStarted timestamp='%' name='org']

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe TC reporter does need somу changes. The first test in the suite should start the new suite actually...

@Pazus
Pazus merged commit d774b7f into develop Aug 5, 2017
@Pazus
Pazus deleted the feature/sonar_test_reporter_fix branch August 5, 2017 08:39
@Pazus Pazus modified the milestones: v3.0.3, v3.1.0 Aug 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sonar Unit Test reporter is not working well with suitepath

2 participants