AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
DAX
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 28.10.2006, 16:40   #1  
Blog bot is offline
Blog bot
Участник
 
25,491 / 846 (79) +++++++
Регистрация: 28.10.2006
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
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Dynamics Mobile: Unit Testing DocumentHandlers Blog bot DAX Blogs 0 07.01.2009 17:05
msdynamicsax: VB script that test the com connector for Dynamics Ax 4.0 Blog bot DAX Blogs 0 25.08.2008 18:05
mfp: Late night discussions on software development #3: Unit testing Blog bot DAX Blogs 6 17.03.2008 12:01
axaptapedia: Unit Testing Blog bot DAX Blogs 0 19.11.2007 03:24
mfp: Channel9 - AX screencast on Unit Testing Blog bot DAX Blogs 2 28.10.2006 23:31

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 09:24.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.