Acceptance Test Tool을 고객또는 개발자들간의 Communication Tool로 사용하기 #
막강 Solution 개발을 향한 투지를 불태우는 개발자들에게 고객과의 communication은 그 solution의 대강을 짐작케하여 고객과 함께 일할 수 있는 바탕을 마련하는 아주 중요한 프로세스이다.  대부분, 요구사항 분석 (requirement analysis) 과정으로 고객과의 communication을 시작하게 된다. 하지만 프로젝트내에서 이런 communication을 지속적으로 수행할 process가 한번의 요구사항 분석외에 더 없다면 감히 말하건대 그 프로젝트가 성공으로 가는 길은 험난할 것이다.

이 지속적인 고객과의 communication을 달리 말하면 프로젝트가 끝나는 순간까지 고객과 요구사항분석을 계속한다라는 것을 의미한다. 즉, 고객의 요구사항이 계속 변할 것이라는 mindset에서 출발하여 이런 유동적인 요구사항변화를 실시간으로 잡을 수 있는 communication 채널을 열어두어야 한다는 것이다.

Fitnesse 를 사용하면서 이 tool이 이러한 고객과의 지속적인 communication을 지원할 수 있는 잠재력을 보게 되었다. 우선 Fitnesse는 acceptance test tool의 하나이다. 이 accetpatnce test 는 달리 말하면 시스템 테스트 혹은 functional 테스트를 아우르는 포괄적인 모든 highlevel 테스트들을 포함하고 있다. 하지만 중요한 것은 acceptance라는 단어가 말하듯 고객이 시스템의 기능을 테스트를 통해서 confirm한다는 것이다. 그리고 이론적으로 이런 accepatance 테스트들의 작성자는 고객이 된다. Fitnesse는 WIKI 기반으로서 고객이나 개발자 모두가 테스트 페이지에 contribute할 수 있게함으로 이미 협업과 communication이라는 두가지 장점을 기본적으로 가지고 있다.

또한 acceptance 테스트 자체가 고객의 요구사항이 된다. 그리고 tool의 특성상 항상 testable한 형태로 존재하게 되는데 이는 요구사항과 테스트의 추적 matrix를 작성했던 개발자들이라면 이미 그 중요성을 굳이 말하지 않아도 될 것이다. 이런 요구사항은 일반 문서적이고 서술적인 요구사항 산출물보다 다음과 같은 고객의 의도를 더 간파할 수 있다.

 * user input
 * control flows
 * GUI design (primitive yet inspiring)

이런 부수적인 장점들을 가질 수 있는 이유는 acceptance test를 실제 프로그램을 상상할 수 있게끔 만들 수 있다는 데 있다. 즉, 최종 solution의 wireframe을 고객에게 먼저 보여줄 수 있기 때문이다.
Saturday, July 07, 2007 10:55:07 PM (Eastern Standard Time, UTC-05:00) #    Comments [0]  |  Trackback

 

친구와의 agile 이야기#
친구: Y! 난 agile이란 방법론을 앞으로 우리 회사 모든 프로젝트에 도입하고 싶은데, 윗 임원들을 설득할 수 있는 좋은 방법이 없을까? agile 방법이 우수하다는 것을 한방에 증명할 수 있는 그런 것!

나: 글쎄... 그런데 agile이 최선인지 아닌지는 아무도 몰라. 하지만 지금 네가 하고 있는 방법은 절대로 아니라는 거야. 현재 waterfall적인 것은 무조건 안된다는 거지. 그렇다고 무턱대고 지금 가진게 나쁘니까 agile을 하자고 할 수는 없겠지?

친구: 옆에서 네가 테스트를 만들고 mock object란 걸 통해서 domain modeling을 하는 tool들을 사용하는 걸 보니까 이건 웬지 craft를 하는 것 같다는 생각이 들어. 그냥 백지위에서 시작하는 게 아니라 test를 통해 어떤 도구의 도움에 의해 뭔가 조금씩 만들어지는 느낌을 받는다 말이야. 그게 웬지 자신감을 주는 것 같아.

나: 그 feel은 네가 제대로 받은거야. 옛날엔 우리가 software engineering을 하면서 무슨 art를 했던 것 같았었지. class들을 만들땐 무슨 번쩍하는 영감이 떠올라야 했구 그나마도 내가 제대로 하고 있는 지 항상 의문이었지. UML이란 tool을 사용해 보지만 art인 점은 여전했었어?

친구: 맞아 art였어... ^^

나: 테스트 도구를 사용하면서 디자인을 어떤 영감에 의존하지 않는거지. 이 도구들이 줄자로 측정기로 옆에서 내가 만드는 프로그램의 방향을 끊임없이 다듬어주거던. 프로그램자체가 아닌 그 방향을 잡아준다는 거는 정말 내가 너에게 저극 추천하고 싶어. 비록 전사적인 개발방법론 도입과 같이 크게 벌이지 않더라도 개인적으로 이 test tool들을 잘 활용해봐.
나: art가 아니고 craft이기에 자신감을 가질 수 있는거야 ^^. craft는 누구나 할 수 있는거잖아.

친구: 그래서 난 이왕 할거면은 처음부터 진지하게 전사적으로 시작하고 싶은거지. 이론적인 근거가 탄탄한 보고서를 만들 자료좀 줘봐.

나: 그냥 TDD 부터 시작해봐. 그건 뭐 개발 방법론이라고 말할 수도 없는거니까. 또 테스트의 중요성은 아무리 강조해도 모자라잖아? 테스트 먼저 생각하는 사고의 전환부터 시작해봐.

친구: 하지만 테스트 first라는 말은 잘 알겠는데 막상 테스트를 만들려면 막막해져. 그리고 내가 만든 테스트 자체가 도움이 안된다면 결국 개발이나 디자인에 도움이 안되는 건 마찬가지 아냐?

나: 그런 생각이 바로 '시작점'인거야. 어떻게 테스트를 꾸밀까란 고민은 한마디로 말하면 내가 뭘 테스트해야 하나라는 고민이지 않겠어?
나: 뭘 테스트하냐라는 고민에 대해서 정확한 답은 누구에게서 받겠니? 그 프로그램의 사용자겠지? 결국 고객이야.
나: 테스트를 통해서 요구사항 분석도 되는 거지. 그리고 테스트도 하나의 작은 프로그램이기 때문에 고객의 요구사항이 가질 수 있는 잠재적인 문제점들을 미리 미리 볼 수 있다는 장점이 있어. 이건 문서만을 통해서 하는 요구사항분석이 따라 올 수 없는 점이지.
나: 그리고 acceptance test을 하는 wiki tool 봤지? 웬만한 프로타잎의 역활을 충분히 하잖아? 바로 고객에게 아웃풋을 주고 즉각적인 feedback도 기대할 수 있는 거지.

나: 그리고 도구란게 자꾸 써야 느는거잖아. 처음부터 다 알고 사용하지는 못하는거구. 내가 pair programming이라는 걸 한번 소개해주면서 너랑 같이 테스트를 작성해보자. pair programming 은 지식의 인수인계를 쉽게 해주거던.




Thursday, June 28, 2007 12:05:05 AM (Eastern Standard Time, UTC-05:00) #    Comments [0]  |  Trackback

 

테스트 tool과 Pair Programming을 통한 기획력 향상과 개발자와의 협업 증대#
W,

한국에서 기획자와 개발자들간의 불화, 이질감, 오해들은 W 자네도 이미 알고 있으리라 믿네. 함께 100% 협력해도 성공적인 프로젝트가 될 지 안될 지 모르는 마당에 이렇게 삐걱거리는 관계는 회사의 경쟁력에 치명적일 수 밖에 없겠지. 양쪽 얘기를 다 들어봐야 서로의 입장차이만 확인할 뿐 아무런 도움이 되지 않을걸세.

왜냐하면 근본적인 문제는 기획자에게 바라는 산출물에 대한 회사와 개발자들의 요구사항이 명확하지 않다는데 있는 것일세. 즉, 언제부터 기획자들의 ppt 파일이나 doc, 혹은 visio 파일들이 기획 산출물인양 굳어져 버렸는 지. 우선 이런 문서들이 개발에 도움을 주는 지, 부족하다면 무엇을 어떻게 명확하게 요구해야 하는 지. 이런 질문에 대한 연구나 아이디어가 없다는 것은 결국 기획자와 개발자들 그리고 회사의 임원들 모두의 문제인 것일세.

일단 이 두 department간의 불화를 없애고 협업을  높이기 위해서는 개발자들이 먼저 intiative를 쥐어야 하네. 즉, 개발자들이 자기들이 필요한 기획산출물을 명확하게 요구할 수 있는 능력이 되어야 하는 것이지.

이를 위해서 testing tool과 pair programming을 활용하면 좋을 것일세. 즉, 개발자와 기획자가 pair programming기법을 통해서 test 주도 개발 방법을 실천한다면 아주 좋은 효과를 거두리라 믿네. 자네도 알다시피 testing tool은 결국 design툴이지 않은가? 개발자가 unit test 와 acceptance test를 구현해 나갈 때 함께 기획자가 옆에서 기획과 디자인의 input을 주게 하는 것이지.

이를 통해서 얻는 장점은 먼저 지금까지의 "기획먼저 개발 그 다음" 이라는 전통적인 waterfall방법을 벗어날 수 있는 것이 하나요 그리고 개발자에게 직접적으로 필요한 Test라는 산출물이 그 두번째 장점이 되는 것이지. 그리고 기획자들도 알아야 할 것은 자기가 기획한 내용의 30%는 나중에 쓰이지 않거나 변한다는 것을 깨닫고 어떻게 하면 변화하는 고객의 요구사항을 만족시키는 iterative한 기획을 할 수 있는 지를 연구해야만 한다는 것이지.

그리고 자네 회사에서 이런 test 주도 개발을 선택한다면 기획자들의 능력이 올라가지 않는다 하더라도 개발자들의 능력과 최종 프로그램의 품질은 그래도 옛날보다는 나아질 것일세. 내가 이런다고 말을 한다고 기획을 무시한다고 오해는 말아주게 난 누구보다 기획의 중요성을 잘 알고 있지. 현재 자네 회사의 mindset 안에서의 기획활동으로는 개발자와 기획자의 협업향상은 커녕 프로젝트 성공여부도 확신하기 힘들다네.

그리고 더욱 중요한 것은 이 테스팅툴들은 모두 open source들인 경우가 태반이고 내가 볼때는 일반 워드 문서 작성보다는 훨씬 재미가 난다네 개발자와 기획자 모두가 좋아할걸세. 그리고 고객과의 communication도 훨씬 명확해지면서 고질적인 막판 요구사항 뒤집기도 줄어들 걸세. 그건 나중에 내가 solution centric 디자인이라는 주제로 한번 얘기하겠네.

그럼 Y가

Wednesday, June 27, 2007 10:57:04 PM (Eastern Standard Time, UTC-05:00) #    Comments [1]  |  Trackback

 

Fitnesse Test Tool & Requirement Analysis#

This is my correspondence on the mail from the customer asking how we communicate through the Fitnesse's test pages. This triggers me another topic of Requirement Analysis; we need to change our conventional notion about the requirement gathering process.


One of main purposes of the Fitnesse WIKI is that a customer defines the *testable* requirements on the solution s/he would like to have as the outcome of the project. This will replace the conventional discipline of the requirement analysis. You can think of Fitnesse pages as the requirement document that is under development (mainly by customer), and the Fitnesse’s nature of WIKI server enables us to collaborate on the pages. The collaboration is meant to be the ‘communication’.

Along with the normal texts, the Fitnesse’s test-case tables can also convey the following important requirements from the customer’s perspective.

  • Input Data Structure
  • Operational Business Logic
  • Flows of Data Messages
  • Output Format
  • Glimpse of future GUI (It can substitute the Prototype methodology that is supposed to be the tangible object with which customer and developers can exchange clear communication each other)

A customer thinks about the solution s/he like to have for his/her requirement; if the solution is big, then break it down to smaller sub-solutions, and create the separate test pages for each sub-solution. I like to point out that the ‘solution’ and the ‘requirement’ are two different mindsets. For now, think the ‘solution’ as the ‘testable requirement’. Even in conventional requirement analysis, the requirements should be testable. These test cases from customer are tremendously valuable to developers in finding out what the customer really want; the customers are communicating his meaning of the solution.

Yes, we still need to work on the test page layouts (as communication protocol) in order for the test pages to be good communication ground—where to put comments from both stakeholders and where to put the approval etc. But I think the pages can be evolved while customer and developers start to pour their insights about the solution they are building. Probably the layout of the pages would be the easiest thing to modify.

Friday, May 11, 2007 9:19:55 PM (Eastern Standard Time, UTC-05:00) #    Comments [0]  |  Trackback

 

Solution Analysis And Acceptance Test Tool#

This article is incomplete; it will be constantly in editing mode.

The 'Solution' is very similar to the conventional Requirement Analysis. For their most important goal is to pronounce the purpose and the functionals of the project. Yet, there is a subtle difference between two. I prefer the 'Solution' term to the requirement because the former sounds more focused on the coherent principal that combine the many pieces of the requirements.

The weakness in the term of requirement is that they tend to fragmentized into the incoherent pieces; sometimes one requirement conflicts with another one. Usually customers are known to be incompetent in giving their own requirements to the developers. There's a profession who work as mediator between customers and developers; their sole job is to inspire the customer so that they can come up with better requirements. By the nature of customers, any requirements can be thrown at the project schedule any time.

The 'Solution', in fact, is based on this requirement analysis at any level of completedness. The 'Solution' will start with as many requirements as currently available to the designer at the time. The main goal of 'Solution' is the designers' overall direction toward how they resolve the given problem. Here you don't need patterns or classes; you only need the high level statement that explains your plan for the 'Solution'. Therefore, 'Solution' is the better fit to the Agile; though the 'Solution' is also viewed as the supplemental perspective that helps the requirement analysis.

For example, the company A needs a inventory projection system for their products, and they will provide the formula to forecast the future target inventory based on the historical sales data. Your goal is to implement the system for the comapny A. Now you just proclaim your solution to this business problem, or requirement. The 'Solution' will take the historical sales data of a single product or multiple products, and it processes the data based on the logic that implements the forecast formula that Company A provided with. Finally, the solution will display the forecast to the users of the system.

That is solution at my best in the beginning; someone can put better solution. After this proclamation, you will decompose your statement into multiple chapters as the development goes on. Usually there is an organic ties within the statement of the 'Solution'.

The forms of the organic ties would be the sequential flow of logic or events or the conditional factors that fork several chunks of the sub divisions. From this 'Solution' statement, you can make sub-solutions to cover the details of small problems--the questions raised from interpreting the 'Solution' statement.

We are going to need to veryfy this 'Solution' as we do for classes by Unit Test Tool. That is why we need to talk about the Acceptance Test Tool, Fitnesse.

Tuesday, May 01, 2007 11:39:47 PM (Eastern Standard Time, UTC-05:00) #    Comments [0]  |  Trackback

 

Test Driven Development (TDD) Practical Guide#
Xtreme Programmer


I cannot recall where I did get this image.  
---------------

Software Engineer로서 개발 방법론에 대해 끊임없이 고민할 때 행복하다고 생각해야 한다. 자기 일에 고민할 문제가 있음을 인식한다는 것은 자기가 그 일을 즐기고 있다는 증거이다. 이제껏 해오던대로 타성에 젖지 않고 깨어있는 자신을 자랑스러워 해야한다.


Saturday, April 28, 2007 3:47:30 AM (Eastern Standard Time, UTC-05:00) #    Comments [3]  |  Trackback

 

All content © 2008, Young T. Kim
On this page
This site
Calendar
<November 2008>
SunMonTueWedThuFriSat
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456
Archives
Sitemap
Blogroll OPML
Disclaimer

Powered by: newtelligence dasBlog 1.9.6264.0

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Send mail to the author(s) E-mail

Theme design by Jelle Druyts


Pick a theme: