28.10.2006, 16:40 | #1 |
Участник
|
Dynamics AX: Dynamics AX 4.0 - Unit Testing and Test Projects
Источник: http://dynamics-ax.blogspot.com/2006...-and-test.html
============== One of the most wonderful things that is new in DAX 4.0 is unit testing classes and projects. With this new possiblity, this begs the question of should X++ developers now adhere to Software Engineering best practices of creating business requirements, and then from thos business requirements move directly to creating unit test projects from which you code to satisfy those unit test projects. In the past we had to create our own unit type of testing through the use of jobs, but now true unit testing can be achieved. With this post I wanted to breifly talk about the Unit Test or Test Projects that can now be created. I want to get other developers, architects, engineers, etc. all thinking about taking a step back when looking at coding, etc. and possibly taking the approach of: 1.) Create the business requirements 2.) Identify the gap between what exists in the standard App, and what needs to be developed to meet the business requirements. ** NEW ** 3.) Create Test Project that has unit testing code to test for the needed business requirements 4.) Code to fulfill the unit testing scripts and test project 5.) Preform unit testing and document results 6.) Repeat steps 3.-5. until business requirements are meet. This is a wonderful step in the software development lifecycle, that will help standarize the developed of X++ code, and really push the coding the DAX into a more manageable form. Couple this with the Version control abilities of DAX 4.0 and now we have an IDE that will allow for a true SDLC. Now all you have to have is a changement policy and bug tracking module, and your set! Check back soon as I will be posting an exmaple test project, along with a business requirement it was wrote for, and walk through the steps of taking this theory and making it a useful reailty! Find a job at: www.DynamicsAXJobs.com ============== Источник: http://dynamics-ax.blogspot.com/2006...-and-test.html |
|
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|