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

migrate sucker_punch tests from minitest to rspec #1128

Merged
merged 6 commits into from
Aug 13, 2020

Conversation

ericmustin
Copy link
Contributor

This PR moves over the SuckerPunch minitest tests within the /tests folder to rspec spec's within the /spec folder. It tests what was covered in the minitest suite, specifically, instrumentation of enqueue and job spans from SuckerPunch worker instrumentation.

@ericmustin ericmustin requested a review from a team July 31, 2020 14:12
Copy link
Member

@marcotc marcotc left a comment

Choose a reason for hiding this comment

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

Great work @ericmustin, I left a few suggestions below.

spec/ddtrace/contrib/sucker_punch/patcher_spec.rb Outdated Show resolved Hide resolved
spec/ddtrace/contrib/sucker_punch/patcher_spec.rb Outdated Show resolved Hide resolved
spec/ddtrace/contrib/sucker_punch/patcher_spec.rb Outdated Show resolved Hide resolved
spec/ddtrace/contrib/sucker_punch/patcher_spec.rb Outdated Show resolved Hide resolved
spec/ddtrace/contrib/sucker_punch/patcher_spec.rb Outdated Show resolved Hide resolved
@marcotc marcotc added the dev/testing Involves testing processes (e.g. RSpec) label Jul 31, 2020
@ericmustin ericmustin requested a review from marcotc August 3, 2020 09:49
marcotc
marcotc previously approved these changes Aug 4, 2020
Copy link
Member

@marcotc marcotc left a comment

Choose a reason for hiding this comment

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

Awesome work, the RSpec version look so much cleaner than the original! 💯

@ericmustin
Copy link
Contributor Author

@marcotc resolving merge conflict auto-dismissed your review, if you wouldnt mind reviewing again

Copy link
Member

@marcotc marcotc left a comment

Choose a reason for hiding this comment

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

🚢

@ericmustin ericmustin merged commit 228f4df into master Aug 13, 2020
@ericmustin ericmustin deleted the update_sucker_punch_tests_to_rspec branch August 13, 2020 12:32
@marcotc marcotc added this to the 0.40.0 milestone Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/testing Involves testing processes (e.g. RSpec)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants