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

Add automated tests for use in development #166

Open
ghost opened this issue Dec 28, 2020 · 0 comments
Open

Add automated tests for use in development #166

ghost opened this issue Dec 28, 2020 · 0 comments
Labels
1.5.x Applies to OpenCart 1.5.x 2.2.x Applies to OpenCart 2.2.x 2.3.x Applies to OpenCart 2.3.x 3.0.x Applies to OpenCart 3.0.x enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Dec 28, 2020

Is your feature request related to a problem? Please describe.
It takes a bit of time to test out module functionality when adding new features or fixing bugs, especially when changes affect all platform versions. It would be handy if testing the module during development could be automated.

Describe the solution you'd like
Functional tests that verify the module works when changes are added. The main steps that could be automated are as follows: install module, verify credentials, subscribe using form, run (and validate) customer sync, run (and validate) abandoned cart.

Describe solutions you've considered
I've looked into Codeception, it looks promising as a platform for running function/acceptance tests.

Additional context
I've had issues setting Codeception up with docker, only got it working on a local dev environment. This needs to be further researched.

@ghost ghost added enhancement New feature or request 1.5.x Applies to OpenCart 1.5.x 2.2.x Applies to OpenCart 2.2.x 2.3.x Applies to OpenCart 2.3.x 3.0.x Applies to OpenCart 3.0.x labels Dec 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.5.x Applies to OpenCart 1.5.x 2.2.x Applies to OpenCart 2.2.x 2.3.x Applies to OpenCart 2.3.x 3.0.x Applies to OpenCart 3.0.x enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

0 participants