Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strip of remaining s\ when TestDox classname starts with Tests\ #3028

Closed
wants to merge 1 commit into from
Closed

Conversation

dennie170
Copy link

A lot of projects, including for example Laravel, start their test classes with the Tests namespace.
When using TestDox our testclass is reported with a leading s\.
Look at the example below.

image

This commit fixes that.

@codecov-io
Copy link

codecov-io commented Mar 1, 2018

Codecov Report

Merging #3028 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #3028      +/-   ##
============================================
+ Coverage     80.72%   80.73%   +<.01%     
- Complexity     2877     2878       +1     
============================================
  Files           108      108              
  Lines          7535     7537       +2     
============================================
+ Hits           6083     6085       +2     
  Misses         1452     1452
Impacted Files Coverage Δ Complexity Δ
src/Util/TestDox/NamePrettifier.php 97.5% <100%> (+0.13%) 21 <0> (+1) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c5f89f8...36b0348. Read the comment docs.

@dennie170
Copy link
Author

Hi @sebastianbergmann, would you mind explaining why you closed this pull-request?
Appreciate it!

@sebastianbergmann
Copy link
Owner

It was merged.

@dennie170
Copy link
Author

Apologies, I didn't see that. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants