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

Document the expected ways to write tests #20

Open
4 tasks
ttoine opened this issue Sep 16, 2019 · 1 comment
Open
4 tasks

Document the expected ways to write tests #20

ttoine opened this issue Sep 16, 2019 · 1 comment
Labels
developers Target: Encourage developers major Severity: Major medium Priority: Medium software Category: Software construction maturity tests-documented Section: Project Tests Documented

Comments

@ttoine
Copy link
Contributor

ttoine commented Sep 16, 2019

There is currently this page in the devdocs about the tests suite:
https://devdocs.prestashop.com/1.7/testing/how-to-launch-tests/
It provides also a link the readme, and it allowd anyone to run the tests.

However, we don't provide tutorials to explain how to write different kind of tests for the project. That's currently missing. Many people have raised their interest to have resource, in order to:

  • add tests to the modifications they do for their customers
  • contribute tests or write tests to validate their pull requests

Todo:

  • Write tutorials about unit tests (PHPunit + Behat)
  • Write tutorials about sanity tests (Pupeteer)
  • Write tutorials about functional tests (Pupeteer)
  • Write tutorials about end to end tests (Pupeteer)

See also #8

@ttoine ttoine added tests-documented Section: Project Tests Documented developers Target: Encourage developers major Severity: Major medium Priority: Medium software Category: Software construction maturity labels Sep 16, 2019
@SimonGrn
Copy link
Contributor

First example about web acceptance test in Puppeteer : https://devdocs.prestashop.com/1.7/testing/how-to-create-your-own-web-acceptance-tests/

There is still room to improve this document. I'll keep it in my todo-list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developers Target: Encourage developers major Severity: Major medium Priority: Medium software Category: Software construction maturity tests-documented Section: Project Tests Documented
Projects
None yet
Development

No branches or pull requests

2 participants