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

Bruke TestContainers for bedre Component-tests #63

Open
nikolaia opened this issue Nov 22, 2022 · 0 comments
Open

Bruke TestContainers for bedre Component-tests #63

nikolaia opened this issue Nov 22, 2022 · 0 comments
Labels

Comments

@nikolaia
Copy link
Member

nikolaia commented Nov 22, 2022

Vi burde ta i bruk TestContainers til å kjøre opp database (SQLite) og Azurite (Blob storage emulator) for Component tests: https://dotnet.testcontainers.org/

InMemoryProvider er ikke anbefalt for tester: https://learn.microsoft.com/en-us/ef/core/testing/testing-without-the-database#in-memory-provider

Man burde kjøre mot SQLite (som også kan kjøre i minnet uten noen fil)

@nikolaia nikolaia changed the title Endre integrasjonstest-prosjektet til å bruke SQLite istedenfor inmemordyprovider Endre integrasjonstest-prosjektet til å bruke SQLite istedenfor InMemoryProvider Dec 2, 2022
@nikolaia nikolaia changed the title Endre integrasjonstest-prosjektet til å bruke SQLite istedenfor InMemoryProvider Bruke TestContainers for bedre Component-tests May 3, 2023
@nikolaia nikolaia moved this from Todo to Klar for utvikling in Dash - Variant Åpne løsninger May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Klar for utvikling
Development

No branches or pull requests

1 participant