Download MetaTrader 5
To add comments, please log in or register
You can test an application before buying it. Find out how to do that!
MetaQuotes Software Corp.
Moderator
180310
MetaQuotes Software Corp. 2011.08.02 09:54 

New article Enhancing the Quality of the Code with the Help of Unit Test has been published:

Even simple programs may often have errors that seem to be unbelievable. "How could I create that?" is our first thought when such an error is revealed. "How can I avoid that?" is the second question which comes to our mind less frequently. It is impossible to create absolutely faultless code, especially in big projects, but it is possible to use technologies for their timely detection. The article describes how the MQL4 code quality can be enhanced with the help of the popular Unit Testing method.

Author: Андрей

femto
13
femto 2014.04.20 20:08  

Thank for this article.

That's very useful but I get some errors

'actual' - invalid array access mql4unit.mq4 58 71

'expected' - invalid array access mql4unit.mq4 58 95

'actual' - invalid array access mql4unit.mq4 84 83

'expected' - invalid array access mql4unit.mq4 84 131

It will be nice if you could fix that (or say me how).

I think I should convert these arrays to string.

I also don't understand why putting mql4unit into Library and not into Include directory.

femto
13
femto 2014.06.20 16:14  

Hello,

 

You can find mt4-unittest project 

https://github.com/femtotrader/mt4-unittest 

 

(forked from https://github.com/micclly/mt4-unittest )

 

Kind regards 

/
To add comments, please log in or register