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

improvement: add tests for joomla-cypress itself #14

Open
muhme opened this issue Jan 20, 2024 · 0 comments
Open

improvement: add tests for joomla-cypress itself #14

muhme opened this issue Jan 20, 2024 · 0 comments

Comments

@muhme
Copy link
Contributor

muhme commented Jan 20, 2024

proposal/call for discussion: Testing joomla-cypress itself?

As a starting point, I could imagine to test calling each method at least once to avoid problems like #13. From my point of view, most of the problems with Cypress come with the HTML/CSS names and the specific way of the test implemention for Cypress. There are always different ways to implement something in Cypress. If we call every method one time for Joomla 4 and 5 I guess we catch 90% of the trouble. It could be extended later if detailed tests are needed to check the results.

Running with latest Joomla 4 and latest Joomla 5. To be discussed if we should support latest Joomla 3 or not. I would vote for supporting Joomla 3 too (as my plugin is supporting it), but i assume the maintenance effort is not reasonable as Joomla 3 is EOL?

I can imagine a docker-test environment with containers: mariadb, joomla4, joomla5 and cypress. Test can run headless. I can create such environment like in https://github.com/muhme/quote_joomla. I can imagine to run it with GUI too, e.g. to have a local Joomla 5.0.2 installation to test it.

What are you thinking? Does it fit in the environment of Joomla on the one hand and an NPM package on the other. Other ideas?

@muhme muhme changed the title improvement: add tests for joomla-cpyress itself improvement: add tests for joomla-cypress itself Jan 20, 2024
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

No branches or pull requests

1 participant