22.06.2017, 13:11 | #1 |
Участник
|
vanvugt: To Jan Hoek: Everything you always wanted to know about automated testing in NAV (cont’d)
Источник: https://dynamicsuser.net/nav/b/vanvu...-in-nav-cont-d
============== Looking at this beautiful Spanish scenery, just before a nice early-morning dive into the swimming pool, a perfect moment to reply to your follow-up post on automated testing, Jan. Thanks for taking the time to answer my questions, Luc! I’ve definitely learned a thing or two, and I’m glad that we apparently agree about most of this stuff. Just a few last responses below…Good to hear, and thanx too as it it allowed me to look more conscious at this topic. About #1. “what to test”My first thought is, that at this very moment it is too far off what we (still) need to achieve in our organisation, and, IMHO, also in the NAV world in general: to get automated tests in place that enable us to get a quick understanding of the current state of our code with respect to existing functionality (i.e. have regression testing in place). With this I keep thinking, but maybe I am too stubborn in that, that this can best/the most easiest be achieved by keeping close to what we are used to in the NAV world: perform/create functional/integration tests. This is mainly what the MS Test Automation Suite entails and as such is a fairly easy start. On second thought I agree with your approach. And this is what, in the end, with respect to automated testing, developers should do: write unit tests to their app code. Having said that I realize I still will push my team first to get the integration tests in place. About #2. “developing for testability”Fully agree, even though this is not an easy thing to achieve in NAV due to the habits we have grown in the NAV world. But yes, this makes code easier to test. About #3. “predefined test data”You're fully right in all aspects. But practically, in our current situation, our daily test run has a 100% identical data baseline as long as we haven't moved to another version of CRONUS. And ... even when we move to a new version ... as long as our tests still prove to be successful, I will call it stable. If the contrary happens I will start considering "generating ... data in a new NAV company". The rest of your replies make perfect sense to me.[Y] Источник: https://dynamicsuser.net/nav/b/vanvu...-in-nav-cont-d
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|