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

WIP: Adding black box testing #2356

Closed
wants to merge 8 commits into from
Closed

WIP: Adding black box testing #2356

wants to merge 8 commits into from

Conversation

daonb
Copy link
Contributor

@daonb daonb commented Nov 22, 2022

Description

There's a testing task I've been using in my projects and I'm happy to contribute. For now, there's only one test - the data channel example - and it passes over the Firefox and Chromium browsers (webkit is WIP).

I've made as little changes as possible to the example: adding data-test-id in a couple of places and making main.go respond promptly on establishing a connection. It could be premature optimization, but waiting 5 seconds every time seems silly.

The biggest open issue is the example's main.go. It imports pion from GitHub.com instead of using the source, testing the wrong source. I'm not sure what's the best way to hack this and I'd appreciate your idea and even better, a PR.

@daonb daonb requested a review from Sean-Der November 22, 2022 08:58
@codecov
Copy link

codecov bot commented Nov 22, 2022

Codecov Report

Base: 77.55% // Head: 77.58% // Increases project coverage by +0.03% 🎉

Coverage data is based on head (616c0db) compared to base (2ebf9c6).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2356      +/-   ##
==========================================
+ Coverage   77.55%   77.58%   +0.03%     
==========================================
  Files          87       87              
  Lines        9272     9272              
==========================================
+ Hits         7191     7194       +3     
+ Misses       1648     1646       -2     
+ Partials      433      432       -1     
Flag Coverage Δ
go 79.36% <ø> (+0.03%) ⬆️
wasm 70.15% <ø> (ø)

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

Impacted Files Coverage Δ
icetransport.go 68.42% <0.00%> (-1.22%) ⬇️
dtlstransport.go 64.90% <0.00%> (+1.86%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@daonb daonb closed this Nov 22, 2022
@daonb daonb deleted the ats2 branch November 22, 2022 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant