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

test: Get rid of goconvey #3016

Closed
oncilla opened this issue Aug 20, 2019 · 1 comment · Fixed by #4570
Closed

test: Get rid of goconvey #3016

oncilla opened this issue Aug 20, 2019 · 1 comment · Fixed by #4570
Assignees
Labels
c/testing Everything related to the testing stack refactor Change that focuses around reducing tech debt

Comments

@oncilla
Copy link
Contributor

oncilla commented Aug 20, 2019

Goconvey is slightly painful to work with. Also, upstream seems very inactive.

The vanilla golang sub-tests provide the functionality we need already.

@oncilla oncilla added the Epic label Aug 20, 2019
lukedirtwalker added a commit that referenced this issue Sep 19, 2019
lukedirtwalker added a commit to lukedirtwalker/scion that referenced this issue Nov 6, 2019
lukedirtwalker added a commit that referenced this issue Nov 7, 2019
Also introduce `xtest.AssertErrorsIs` and use it instead of manual asserts with `xerrors.Is`

Contributes #3016
karampok added a commit to karampok/scion that referenced this issue Nov 8, 2019
karampok added a commit to karampok/scion that referenced this issue Nov 11, 2019
karampok added a commit that referenced this issue Nov 11, 2019
karampok added a commit to karampok/scion that referenced this issue Nov 12, 2019
karampok added a commit to karampok/scion that referenced this issue Nov 14, 2019
karampok added a commit to karampok/scion that referenced this issue Nov 14, 2019
karampok added a commit that referenced this issue Nov 14, 2019
@scrye scrye modified the milestone: S01 E01 Jan 7, 2020
karampok added a commit to karampok/scion that referenced this issue Jan 29, 2020
karampok added a commit that referenced this issue Jan 29, 2020
* Remove convey from tests in lib/addr

Contributes #3016
@scrye scrye added the refactor Change that focuses around reducing tech debt label Jan 31, 2020
@matzf
Copy link
Contributor

matzf commented May 27, 2022

The following packages still use goconvey:

  • dispatcher/internal/registration (ca 400 LoC) gone
  • pkg/sock/reliable/reconnect (ca 550 LoC) gone
  • private/revcache (~550 LoC)

@matzf matzf added c/testing Everything related to the testing stack and removed Epic labels Jul 11, 2024
@matzf matzf closed this as completed in 8598eda Jul 15, 2024
lukedirtwalker pushed a commit to lukedirtwalker/scion that referenced this issue Sep 3, 2024
Remove use of goconvey from private/revcache, replacing it with the
default go testrunner with subtests and stretchr/testify/assert.

Remove some unused functions instead of updating their tests.

Completely aside: change NewKey to return a Key by value instead of a
reference. It is used as value everywhere and it just hurt my eyes.

Fixes scionproto#3016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/testing Everything related to the testing stack refactor Change that focuses around reducing tech debt
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants