-
Notifications
You must be signed in to change notification settings - Fork 100
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 integration tests for .NET #439
Comments
✋🏻I'd like to take this issue 😄 |
Good luck! |
PreambleSorry for delay! I have most of my free time on the weekends, and was only just able to sit down to get a lay-of-the-land on this issue. If at any point this issue or related works need to be escalated please reassign 👍🏻. Stage
IssuesSystem details
test>README.mdLines 1 to 11 in 3795e75
Following these instructions was more difficult (but doable) than the excellent online resource you have hosted. I think it would be an easy win to point to that resource from this file. I had mixed results getting the minikube deployment to execute the tests consistently, but after following the online guide it was smooth sailing (minus the points to follow). A possibly helpful upgrade to the doc site would be extending the examples to include minikube (since it's specifically recommended in the test readme file above). Flakey tests#473 will be helpful on my end absolutely. I've had mixed results from this test regardless of configuration or local kube solution. Typically related to www.live.com (which forwards to outlook), but often others as well. Lines 1049 to 1062 in 3795e75
Failing testsAll Golang related e2e tests fail on my local machine with similar errors to this:
I have spent this morning trying to figure out if these errors are a fault of how I followed the test environment instructions with no luck. I have found related work #248 #260, but I'm not entirely sure these are justifications for me to ignore these failing on my machine, so I thought I'd ask. One other piece of evidence I can point to is: mirrord/.github/workflows/ci.yaml Lines 152 to 279 in 3795e75
All of the go-e2e tests are omitted from the macOS ci test suite. QuestionHaving followed the developer testing guide: Thanks so much for reading all my blathering! Any feedback/advice would mean the world to me 😄 Footnotes
|
How are you running mirrord? This happens when the binary path is not valid |
I assume they didn't compile the go e2e tests, we should add a note that this is required for go e2e to run. |
The online Testing & Development Guide recommends running mirrord with a local process:
I have attempted the tests again after compiling all of the Go folders included in the project with no success. Could you elaborate on how exactly this should be done? Thank you both for your feedback and advice 😄 |
@IsaacCloos - Thank you and sorry for the troubles! - uses: actions/setup-go@v3
with:
go-version: "1.18.0"
- run: |
cd tests/go-e2e
go build -o 18
- uses: actions/setup-go@v3
with:
go-version: "1.19.0"
- run: |
cd tests/go-e2e
go build -o 19 |
Thank you for the help! Draft PR #480 is open for feedback and I'd love to iterate on that work until it meets the needs of this project. Also, The test suite of this project has been a learning curve. The different ways to run the project, container environments to use, and different architectures can lead to a lot of extra work to feel comfortable with tests (new and old) working correctly and reporting relevant failures/successes. With that said, after this issue is closed I'd love to provide feedback to perhaps improve the QOL for future contributors looking to work in the tests section of the project. |
Absolutely no rush on this; can the title and description be updated to reflect the newly desired integration tests? Do these tests live within the I want to make sure these tests are helpful and designed correctly. A little direction would make a huge difference 😄 |
Yes, that's the part in mirrord that is affected by frameworks/languages so it's actually testing it's flow and logic, hence being there. |
We should add integration tests for common .NET workflows.
The text was updated successfully, but these errors were encountered: