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

Initial attempt to make integration tests more portable #1979

Closed
wants to merge 5 commits into from

Conversation

ConnorMcMahon
Copy link
Contributor

This is Connor's hackathon project, which takes the existing 200+ Azure
Storage test and port most of them in a way so that they can utilize the
new backends.

Current limitations:

  1. The abstractions are a bit hacky to make sure things get initialized
    in the right order for the right backends.
  2. Netherite only runs in emulation mode, because TaskHub
    startup/shutdown takes too long.
  3. SQL provider tests are having authentication issues.
  4. The tests that run are not linked to the source code for the tests,
    because the source code lives in a separate project (eventually this
    could be a nuget package). The source code can still be debugged, but
    errors in the tests will not link to the source code. Ideally we could
    use source generators to generate the source code for the tests to
    make debugging them easier.
  5. There is still some test code (like the provider type parameter) that
    is no longer necessary with the new structure that I didn't get rid
    of because it was too tedious.

Connor McMahon and others added 3 commits June 1, 2021 09:32
Merge dev into main for 2.5.1
This is Connor's hackathon project, which takes the existing 200+ Azure
Storage test and port most of them in a way so that they can utilize the
new backends.

Current limitations:

1. The abstractions are a bit hacky to make sure things get initialized
   in the right order for the right backends.
2. Netherite only runs in emulation mode, because TaskHub
   startup/shutdown takes too long.
3. SQL provider tests are having authentication issues.
4. The tests that run are not linked to the source code for the tests,
   because the source code lives in a separate project (eventually this
   could be a nuget package). The source code can still be debugged, but
   errors in the tests will not link to the source code. Ideally we could
   use source generators to generate the source code for the tests to
   make debugging them easier.
5. There is still some test code (like the provider type parameter) that
   is no longer necessary with the new structure that I didn't get rid
   of because it was too tedious.
@ConnorMcMahon ConnorMcMahon changed the title This is Connor's hackathon project, which takes the existing 200+ Azure Storage test and port most of them in a way so that they can utilize the new backends. Current limitations: 1. The abstractions are a bit hacky to make sure things get initialized in the right order for the right backends. 2. Netherite only runs in emulation mode, because TaskHub startup/shutdown takes too long. 3. SQL provider tests are having authentication issues. 4. The tests that run are not linked to the source code for the tests, because the source code lives in a separate project (eventually this could be a nuget package). The source code can still be debugged, but errors in the tests will not link to the source code. Ideally we could use source generators to generate the source code for the tests to make debugging them easier. 5. There is still some test code (like the provider type parameter) that is no longer necessary with the new structure that I didn't get rid of because it was too tedious. Initial attempt to make integration tests more portable Oct 20, 2021
@sebastianburckhardt sebastianburckhardt self-assigned this Jan 13, 2022
@sebastianburckhardt sebastianburckhardt marked this pull request as draft January 13, 2022 00:47
…Tests

# Conflicts:
#	src/WebJobs.Extensions.DurableTask/WebJobs.Extensions.DurableTask.csproj
#	test/Common/DurableTaskEndToEndTests.cs
#	test/DurableFunctions.AzureStorage.FunctionsV3OrGreater/OutOfProcTests.cs
#	test/FunctionsV1/PlatformSpecificHelpers.FunctionsV1.cs
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.

3 participants