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

FEATURE: Add unit and functional tests #37

Merged
merged 25 commits into from
Apr 25, 2024
Merged

Conversation

gradinarufelix
Copy link
Collaborator

@gradinarufelix gradinarufelix commented Dec 10, 2023

This PR adds extensive unit and functional testing for this package. Everything about how to run these tests is described in the new TESTING.md file, see: https://github.com/sitegeist/Sitegeist.LostInTranslation/blob/4a9788bc462253ba936c8c6b12222dc6981a02b9/TESTING.md

The functional testing already covers quite some cases. Unfortunately, there are still some tests that I could not finish. Those tests are not annotated with @test but instead with _test and an explanation what goes wrong.

@gradinarufelix gradinarufelix force-pushed the FEATURE/testing branch 20 times, most recently from 376e0df to 7062978 Compare December 10, 2023 10:49
@gradinarufelix gradinarufelix marked this pull request as draft December 13, 2023 09:32
@gradinarufelix gradinarufelix changed the title WIP: FEATURE: Testing FEATURE: Add unit and functional tests Jan 17, 2024
@gradinarufelix gradinarufelix marked this pull request as ready for review January 17, 2024 18:12
gradinarufelix and others added 3 commits January 17, 2024 19:14
Flush context caches and use correct instance of ContextFactory to
avoid dangling Workspace references.
@gradinarufelix gradinarufelix self-assigned this Mar 4, 2024
Copy link
Member

@mficzel mficzel left a comment

Choose a reason for hiding this comment

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

Fine by 👀

@gradinarufelix gradinarufelix merged commit 87c3812 into main Apr 25, 2024
3 checks passed
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