G
G
galaxie2017-03-26 16:13:50
PHP
galaxie, 2017-03-26 16:13:50

How to write tests for modules in 1C-bitrix?

I am writing a module for 1C-Bitrix. It is assumed that the user will download it to the modules folder and then install it through the "Manage Modules".
What is the correct way to write unit tests in this situation? How to connect phpUnit and so on, in which folder in the module structure should these tests be located? Can you recommend an article?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2017-03-27
@rpsv

The module, I think, can only be checked for correct installation and removal (these are 2 methods).
And cover everything else depending on the tasks.
Should lie rather in the /tests folder.
About tests: https://phpunit.de
Articles: https://habrahabr.ru/search/?q=phpunit#h

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question