https://github.com/prestashop/ps_qualityassurance
Magic module to test module integration in PrestaShop
https://github.com/prestashop/ps_qualityassurance
hacktoberfest prestashop-module tools
Last synced: 8 months ago
JSON representation
Magic module to test module integration in PrestaShop
- Host: GitHub
- URL: https://github.com/prestashop/ps_qualityassurance
- Owner: PrestaShop
- License: afl-3.0
- Created: 2020-06-10T18:00:41.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-29T01:59:54.000Z (about 2 years ago)
- Last Synced: 2025-01-29T21:22:58.847Z (over 1 year ago)
- Topics: hacktoberfest, prestashop-module, tools
- Language: Vue
- Homepage:
- Size: 5.27 MB
- Stars: 13
- Watchers: 21
- Forks: 7
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Quality Assurance module
[](https://github.com/PrestaShop/ps_qualityassurance/actions/workflows/php.yml)
[](https://github.com/PrestaShop/ps_qualityassurance/actions/workflows/js.yml)
[](//packagist.org/packages/PrestaShop/ps_qualityassurance)
[](https://github.com/PrestaShop/ps_qualityassurance)
[](https://github.com/PrestaShop/ps_qualityassurance/LICENSE.md)
## About
This module was desiged to helps QA team to test hooks.
It provides a dedicated BO page where you can register to any hook inside PrestaShop and control what is being returned through this hook.
### How to use it
Install it, then use the new link in the menu "Quality Assurance" to reach the main configuration page.
From this page, you can
- see configured hooks
- register new hooks
- see hook call logs
Hook call logs are being stored inside SQL table `ps_quality_assurance_hook_logs`. If the table contains too much content, you must empty it.
## Requirements
Required only for development:
- npm
- composer
## Development tools
### Installation
Install all dependencies.
```
npm install
composer install
```
### Usage
```
npm run dev # Watch js/css files for changes
npm run build # Build for production
```
### Build a ZIP
If you want to install it into your shop by using standard module upload process, you need to build a ZIP archive.
Install npm and composer dependencies, then build the JavaScript assets for production. Then remove the unnecessary folders:
- `node_modules`
- `tests`
- `_dev`
- `.github`
- `.git`
Finally build a ZIP archive from the folder.
## Contributing
PrestaShop modules are open source extensions to the [PrestaShop e-commerce platform][prestashop]. Everyone is welcome and even encouraged to contribute with their own improvements!
Just make sure to follow our [contribution guidelines][contribution-guidelines].
## License
This module is released under the [Academic Free License 3.0][AFL-3.0]
[prestashop]: https://www.prestashop.com/
[contribution-guidelines]: https://devdocs.prestashop.com/1.7/contribute/contribution-guidelines/project-modules/
[AFL-3.0]: https://opensource.org/licenses/AFL-3.0