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

Add @group annotation to compliance tests for environment variables #611

Merged

Conversation

yuktea
Copy link
Contributor

@yuktea yuktea commented Mar 16, 2022

Marked the compliance tests for environment variables with phpunit notion (@group compliance ). This helps to identify the tests used for verifying compliance to the spec-compliance-matrix

Marked tests for environment variables with phpunit @group annotations to identify
compliance tests. This enables for a way to run just those specific
test and will serve as a useful form of documentation.
@yuktea yuktea force-pushed the add-annotation-for-compliance-test branch from 95ce868 to dcf3844 Compare March 16, 2022 17:15
@codecov
Copy link

codecov bot commented Mar 16, 2022

Codecov Report

Merging #611 (bdff7c6) into main (ca05f51) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##               main     #611   +/-   ##
=========================================
  Coverage     84.45%   84.45%           
  Complexity     1141     1141           
=========================================
  Files           127      127           
  Lines          2766     2766           
=========================================
  Hits           2336     2336           
  Misses          430      430           
Flag Coverage Δ
7.4 84.40% <ø> (ø)
8.0 84.45% <ø> (ø)
8.1 84.45% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


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 ca05f51...bdff7c6. Read the comment docs.

@bobstrecansky
Copy link
Collaborator

This looks like a great start!

We should probably also have a Makefile task that looks something like this:

test-compliance:
	$(DC_RUN_PHP) env XDEBUG_MODE=coverage vendor/bin/phpunit --group compliance

In order to be able to complete these compliance tests in a standalone fashion.

@bobstrecansky bobstrecansky merged commit 169bdbe into open-telemetry:main Mar 31, 2022
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

3 participants