EA Quality with Unit Testing

To add comments, please log in or register
Gadi Eichhorn
13
Gadi Eichhorn  

Hi All,

I am developing MQL5 EA and woluld like to implement more quality and control with unit tests. Does anyone have a recommended library or advise to test EA code to identify bugs.

For example, I use MACD indicator in code and had many issues as it was not working properly and gave 0 values. Using Unit tests I would be able to find this issues early in the development process.

Thanks in advance.

Gadi.

Amir Yacoby
1373
Amir Yacoby  
Gadi Eichhorn:

Hi All,

I am developing MQL5 EA and woluld like to implement more quality and control with unit tests. Does anyone have a recommended library or advise to test EA code to identify bugs.

For example, I use MACD indicator in code and had many issues as it was not working properly and gave 0 values. Using Unit tests I would be able to find this issues early in the development process.

Thanks in advance.

Gadi.

You can use as starting point the standard library testing scripts in Scripts\Unit Tests folder.
It's not a library but has some ideas.
To add comments, please log in or register