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

tests: transform "migrate" testsuite into "reset database" testsuite #763

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

nikophil
Copy link
Member

@nikophil nikophil commented Dec 17, 2024

This was my initial goal, when I split the test suite: to have a "reset database" testsuite, and a main test suite.

Another cool thing is that I've moved all the tests related to "global story" here. Each time I have some complex stuff to debug in the main testsuite, I always deactivate the global stories, because it creates some noise (extra pass in create() method, for example)

something I'm wondering is maybe we can now remove some permutations for the main testsuite in the CI. maybe remove sqlite and pgsql permutations, always use dama... WDYT?

todo: add to the "reset database" matrix --prefer-lowest permutation

@nikophil nikophil force-pushed the tests/reset-scheam-testsuite branch from 08ef3be to 76a6fed Compare December 17, 2024 18:37
@nikophil nikophil marked this pull request as ready for review December 17, 2024 18:38
@nikophil nikophil requested a review from kbond December 17, 2024 18:38
@nikophil nikophil force-pushed the tests/reset-scheam-testsuite branch 3 times, most recently from 57c7926 to 01485a7 Compare January 5, 2025 18:30
.gitignore Show resolved Hide resolved
@nikophil nikophil force-pushed the tests/reset-scheam-testsuite branch from 01485a7 to 951ef94 Compare January 5, 2025 19:02
Copy link
Member

@kbond kbond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe remove sqlite and pgsql permutations, always use dama

I think it's important to keep at least one sqlite permutation. For 3rd party bundle test suites (and I use for some SymfonyCasts tutorials) it's just easier to use.

@nikophil nikophil force-pushed the tests/reset-scheam-testsuite branch from 951ef94 to e446f9f Compare January 23, 2025 17:11
@nikophil nikophil mentioned this pull request Jan 23, 2025
@nikophil nikophil merged commit 17388bc into zenstruck:2.x Jan 23, 2025
86 checks passed
@nikophil nikophil deleted the tests/reset-scheam-testsuite branch January 23, 2025 17:19
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.

2 participants