<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[selenium-korea - Medium]]></title>
        <description><![CDATA[Tech news and topics about Selenium for Korean user group - Medium]]></description>
        <link>https://medium.com/selenium-korea?source=rss----3bf15ff37e74---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>selenium-korea - Medium</title>
            <link>https://medium.com/selenium-korea?source=rss----3bf15ff37e74---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 10:28:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/selenium-korea" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Windows Browsers: how to run them in Docker containers]]></title>
            <link>https://medium.com/selenium-korea/windows-browsers-how-to-run-them-in-docker-containers-e8a02914a52d?source=rss----3bf15ff37e74---4</link>
            <guid isPermaLink="false">https://medium.com/p/e8a02914a52d</guid>
            <dc:creator><![CDATA[정원덕]]></dc:creator>
            <pubDate>Mon, 20 May 2019 14:12:14 GMT</pubDate>
            <atom:updated>2019-05-20T14:22:00.397Z</atom:updated>
            <content:encoded><![CDATA[<h4>서문</h4><p>테스트 비용이 높은 IE, Edge를 Dcoker container에 넣어서 구동할 수 있다면, 테스트비용을 획기적으로 낮출 수 있을 것입니다. 이것을 가능하게 한 방법을 소개합니다. 이 발표는 Aerokube의 다른 글인 “<a href="https://medium.com/@aandryashin/selenium-on-windows-docker-revolution-f5a7eab205ad">Selenium on Windows: Docker Revolution</a>”을 참조했습니다.</p><h4>연설자 소개</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xK9LttuVdvy9At7HRsCtgg.jpeg" /></figure><p>Ivan Krutov는 10년 이상의 Java와 Golang 프로그래밍 경력을 가지고 있습니다. 지난 5년간은 병렬로 수천개의 브라우저들을 실행시킬 수 있는 인프라스트럭쳐를 운영해왔습니다. 2019년 현재 <a href="https://aerokube.com/">Aerokube</a>에 재직중입니다.</p><h4>왜 IE, Edge 브라우저가 중요한거죠?</h4><ol><li>Windows OS는 75–80%의 시장 점유율 (2019.3)</li><li>약 10–12%의 유저들이 IE나 Edge로 웹페이지를 방문 (2019.3)</li><li>일부 오래된 App들은 IE에서만 동작</li><li>큰 규모의 회사들(특히 은행이나 정부기관)은 IE를 정책적으로 사용</li><li>Windows OS와 Linux OS는 다른 랜더링 방식을 가짐</li></ol><p>위 이유들을 살펴보니 IE, Edge의 테스트가 의미있다는 것을 이해할 수 있습니다. 그렇다면 IE와 Edge의 테스트 진행에서 나타나는 문제점은 무엇일까요?</p><h4>IE, Edge를 테스트할 때의 문제점</h4><ol><li>IE, Edge는 Windows 위에서만 실행</li><li>장시간 실행되는 Virtual machine에 배치되므로 메모리부족(out of memory) 발생가능</li><li>Edge 모두 병렬수행이 불가능 — 1개의 테스트만 수행</li><li>IE는 병렬수행이 가능하나 별도의 작업이 필요</li></ol><p>그러므로 현재 상황에서는 IE와 Edge의 테스트 비용이 높습니다.</p><h4>Big Selenium Cluster</h4><p>Ivan이 다루어야 했던 Cluster 환경은 다음과 같은 조건을 가지고 있었습니다.</p><ol><li>5000개 이상의 브라우저</li><li>하루의 250만개의 세션</li><li>5개의 데이터 센터</li><li>4000 RPS(Requests per seconds)</li><li>2 Gbit/s 의 트래픽</li></ol><p>그리고 대상 브라우저는 다음과 같았습니다.</p><ol><li>Firefox</li><li>Chrome</li><li>Edge</li><li>Opera</li><li>IE</li><li>Android mobile web</li><li>Apple mobile web</li></ol><p>이 조건 위에서 Ivan은 다음과 같은 Selenium Tool 조합을 사용했습니다.</p><ol><li><a href="https://github.com/aerokube/selenoid">Selenoid</a> — Docker를 사용한 Selenium 프로토콜입니다. 이것으로 브라우저를 Docker 안에서 실행시킬 수 있습니다.</li><li><a href="https://github.com/aerokube/moon">Moon </a>— Selenium이 Kubernetes 환경 위의 브라우저를 제어할 수 있도록 해줍니다</li><li>Browsers — Selenium이 제어할 대상 브라우저들</li></ol><p>하지만 전형적인 Selenium 테스트 과정에서는 IE와 Edge는 여전히 테스트 비용이 높습니다. 위와 같은 테스트 클러스터 환경이라면 IE와 Edge가 다른 브라우저들처럼 병렬 수행이 가능하며 확장가능성이 높은 테스트가 가능해야 가치가 있을 것입니다. 이 문제를 어떻게 해결할 수 있을까요?</p><h4>Traditional Selenium Testing</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YZThWWyRfhLI1ckUB2BJeg.jpeg" /></figure><p>기존의 Selenium testing은 다음과 같은 단계를 거쳐 실행되었습니다.</p><ol><li>Selenium API</li><li>Web Drvier</li><li>Browser</li></ol><p>이렇게 실행되는 IE, Edge 테스트는 여러가지 문제점을 가지고 있습니다. 윈도우즈 브라우저들은 오랫동안 실행되는 가상 머신 위에서 실행됩니다. 그러므로 임시 인터넷 파일들로 인해 out of memory가 발생할 수 있습니다. 혹은 memory leak이 일어날 수도 있습니다. 그리고 같은 머신 위에서 다른 이전 버전의 IE, Edge 브라우저를 띄우는 것은 불가능합니다. 자동 업데이트시, 이전 버전을 강제적으로 삭제하기 때문이죠. 안타깝게도 2019년 현재, Edge는 하나의 Window os에서는 하나의 테스트 밖에 돌릴 수 없습니다. IE는 우회적인 방법이 있지만 매우 까다롭습니다.</p><p>게다가 불행히도 Microsoft의 IE의 WebDriver 업데이트는 속도가 매우 늦습니다. 어떤 이슈는 3년이 지나서야 이슈가 등록되고, 1년반 동안 아무런 대응이 없는 경우도 있습니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FaZtD65znWc9Vi_PMUz29A.jpeg" /><figcaption>IE 브라우저는 이슈 업데이트가 매우 늦습니다</figcaption></figure><p>이것은 Windows의 Selenium testing 비용을 높이는 또다른 이유가 됩니다. 하지만 만약에 변경이 불가능한 짧은 주기의 container에 IE, Edge를 넣어서 테스트를 돌릴 수 있고 확장가능하다면 획기적으로 효율적인 테스트가 가능하지 않을까요? Windows가 포함된 Docker Image를 이용한다면 어떨까요?</p><h4>Browser in containers</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-WH2r552XUgyBpHuCdRWYw.jpeg" /><figcaption>IE도 Firefox처럼 Container안에 넣어서 Sacalable하게 만들면 어떨까요?</figcaption></figure><p>Windows를 Docker Image로 만들려면 어떻게 해야할까요? Docker로는 command line으로 실행할 수 있는 Windows application만 실행가능합니다. 다시 말해 Docker를 이용해 직접 브라우저를 실행할 수는 없습니다. 하지만 Docker container안에서 가상머신을 돌리는 것은 가능하죠.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FRJCvvfSE2FE%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DRJCvvfSE2FE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FRJCvvfSE2FE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/01c42a3247260f089db99212d41a5c54/href">https://medium.com/media/01c42a3247260f089db99212d41a5c54/href</a></iframe><p>게다가 병렬 테스트 실행을 위해서 Kubernetes에서 Selenium cluster를 실행한다면, aerokube에서 제공하는 오픈소스 Selenoid로 간단히 제어할 수 있습니다. JSON 설정파일로 제어가 가능하죠.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NxGdVDruvcImlMhR1oDM9g.jpeg" /></figure><p>Selenoid를 통해 이제 다양한 버전의 IE, Edge 브라우저로 병렬 테스트를 해볼 수 있습니다.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FztkDQCvsDs0%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DztkDQCvsDs0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FztkDQCvsDs0%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/45f4f58deb9800f142b2323a19a315c0/href">https://medium.com/media/45f4f58deb9800f142b2323a19a315c0/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FGP7a6NnJ0Mk%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DGP7a6NnJ0Mk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FGP7a6NnJ0Mk%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/783bbf5c3e786b8b97bfdeeaa16d89f1/href">https://medium.com/media/783bbf5c3e786b8b97bfdeeaa16d89f1/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FlonJUQShCj8%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DlonJUQShCj8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FlonJUQShCj8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/71d3062024c3b4c5a915677634a1edee/href">https://medium.com/media/71d3062024c3b4c5a915677634a1edee/href</a></iframe><p>마지막으로 Windows의 라이센스를 고려하지 않을 수 없는데요, 가상 머신에서 구동하는 경우, 총 4개의 이미지까지 실행할 수 있습니다. IE, Edge에서 많은 테스트를 돌려야 한다면 Selenoid + Moon + Windows image 툴 조합은 좋은 선택이 될 수 있을 것으로생각되네요.</p><h4>References</h4><ol><li><a href="https://github.com/aerokube/selenoid">https://github.com/aerokube/selenoid</a></li><li><a href="https://github.com/aerokube/windows-images">https://github.com/aerokube/windows-images</a></li><li><a href="https://aerokube.com/">https://aerokube.com/</a></li><li><a href="https://www.youtube.com/channel/UC9HvE3FNfTvftzpvXi9c69g">https://www.youtube.com/channel/UC9HvE3FNfTvftzpvXi9c69g</a></li><li><a href="https://medium.com/@aandryashin/selenium-on-windows-docker-revolution-f5a7eab205ad">https://medium.com/@aandryashin/selenium-on-windows-docker-revolution-f5a7eab205ad</a></li><li><a href="https://medium.com/@aandryashin/selenium-on-windows-revisited-1ab8d51ccc06">https://medium.com/@aandryashin/selenium-on-windows-revisited-1ab8d51ccc06</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8a02914a52d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/selenium-korea/windows-browsers-how-to-run-them-in-docker-containers-e8a02914a52d">Windows Browsers: how to run them in Docker containers</a> was originally published in <a href="https://medium.com/selenium-korea">selenium-korea</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Collaborating on open source software]]></title>
            <link>https://medium.com/selenium-korea/collaborating-on-open-source-software-f512f3b51028?source=rss----3bf15ff37e74---4</link>
            <guid isPermaLink="false">https://medium.com/p/f512f3b51028</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[conference]]></category>
            <category><![CDATA[selenium]]></category>
            <dc:creator><![CDATA[정원덕]]></dc:creator>
            <pubDate>Wed, 08 May 2019 21:45:25 GMT</pubDate>
            <atom:updated>2019-05-08T21:44:03.659Z</atom:updated>
            <content:encoded><![CDATA[<p>Marit은 2년이 넘는 기간동안 Cucumber 오픈소스 프로젝트에 참여해 왔습니다. 그리고 이 경험들로 실무에서 많은 도움을 받았습니다. 그리고 새로운 친구들을 만나고 커뮤니티의 일원이 될 수 있었습니다. 그렇다면 오픈소스에는 어떻게 참여할 수 있을까요? Marit은 자신이 겪었던 어려움과 실패들을 공유해서 여러분의 도전이 더 쉽고 즐겁게 이루어 지길 바랍니다.</p><h4>Speaker: Marit van Dijik</h4><p>15년 이상을 소프트웨어 개발로 다양한 직군과 회사에서 경력을 쌓았습니다. 소프트웨어 개발과 Cucumber의 오픈소스 contributor 활동을 하고 있습니다. <a href="https://medium.com/@mlvandijk">Medium</a>에서도글을 쓰고 있습니다. 2019년 현재 <a href="https://www.bol.com/">bol.com</a>에서 근무하고 있습니다.</p><h3>What to contribute: Not code</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HSY3x1QSBsLkR4IbVgyOkA.jpeg" /></figure><p>“프로그래머가 아니더라도 오픈소스에 참여할 수 있습니다”. <a href="https://www.amazon.com/Forge-Your-Future-Open-Source-ebook-dp-B07KFPN498/dp/B07KFPN498/ref=mt_kindle?_encoding=UTF8&amp;me=&amp;qid=">Forge your future with Open source</a>의 인용구입니다. 실제로 Cucumber 오픈소스 프로젝트에 참여하면서 Marit은 다음과 같은 역할을 맡았습니다.</p><ol><li>오픈소스 커뮤니티 돕기(Help the community)</li><li>문서화(Documentation)</li><li>이슈 발견</li><li>테스팅</li><li>디자인, Product owner 역할, 기타등등</li><li>언제든지 궁금한 점은 물어보기</li></ol><h4>오픈소스 커뮤니티 돕기(Help the community)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dvvMx3RPS-uHLet4u15akA.jpeg" /><figcaption>버그리포팅이 아닌 질문에 답변하는 것도 도움이 됩니다</figcaption></figure><p>Slack, Gitter, Mailing list, IRC를 통한 질문에 대답을 해주는 것은 큰 도움이 됩니다. 그리고 이런 질문과 답변을 문서화에 포함시키는 것도 고려해볼 가치가 있습니다.</p><h4>문서화(Documentation)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KdpnpJLcfyIyWCik2qN1Ig.jpeg" /><figcaption>문서화 작업을 통해 많은 것들을 배울 수 있었습니다</figcaption></figure><ol><li>문서내의 문법 오류를 고칩니다</li><li>문서내의 유효하지 않은 링크를 찾아냅니다. 유효한 링크로 바꾸거나 삭제합니다.</li><li>문서의 내용에 대해 피드백을 줍니다</li><li>명확하지 않은 내용은 의미를 확실하게 전달할 수 있도록 바꿉니다</li><li>빠진 정보를 추가합니다</li><li>PR을 리뷰합니다</li></ol><h4>문제찾기(Issues)</h4><ol><li>문제를 찾아 알립니다.</li></ol><p>문제인 것 같은데 확실하지 않다면 물어보세요. 그리고 문제가 이미 등록된 것(duplicated)이 아닌지 확인하세요. 템플릿을 사용해서 관련된 정보를 공유해주세요.만약 템플릿이 없다면, 새로 만들어주세요. 그리고 작고 완전하고 검증가능한 예제(<a href="https://stackoverflow.com/help/mcve">MCVE</a>)를 만드세요.</p><p>2. 문제를 재현하고 관련 정보를 추가합니다. 테스트라면 더 좋겠네요!</p><p>3.이슈의 우선순위(Triage)를 정하고 이슈를 구분할 수 있는 라벨(label)을 추가합니다</p><h4>기능 테스트하기(Testing)</h4><ol><li>버그가 수정된 기능을 테스트합니다</li><li>새로운 기능을 테스트합니다</li><li>새로운 릴리스를 테스트합니다</li><li>문서 또는 튜토리얼을 검사합니다</li></ol><h4>왜 오픈소스에 참여하기 힘들까요?</h4><ol><li>무서워요</li><li>프로젝트에 참여하기에 자신이 부족하다고 생각해서</li><li>커뮤니케이션/피드백이 없어서</li><li>관련 참여자들이 별로여서</li><li>제한 사항들: 법적인 문제, 시간 기타등등</li></ol><h4>어떻게 시작할까요?</h4><ol><li>프로젝트를 찾습니다</li><li>프로젝트에 어떻게 참여할지 확인해봅니다</li><li>할 일을 정합니다</li><li>필요하다면 작업 환경을 구성합니다</li><li>협업을 시작합니다!</li></ol><p>지금 사용하고 있는 프로젝트가 있다면 그 프로젝트에 참여하세요! 이미 여러분은 그 프로젝트에 관심이 있고, 친숙하니까요!</p><h4>나의 프로젝트는 어디에 있을까?</h4><p>다음 목록에서 여러분이 원하는 프로젝트를 찾아볼 수 있습니다.</p><ol><li><a href="https://github.com/collections/choosing-projects">How to choose (and contribute to) your first open source project</a></li><li><a href="https://hacktoberfest.digitalocean.com/">Hacktoberfest</a></li><li><a href="https://www.codetriage.com/">CodeTriage</a></li><li><a href="https://up-for-grabs.net/#/">UP-FOR-GRABS</a></li><li><a href="https://www.firsttimersonly.com/">FIRST TIMERS ONLY</a></li><li><a href="https://opensource.guide/">Open source guides</a></li><li><a href="https://yourfirstpr.github.io/">Your First PR</a></li></ol><p>그리고 여기서 선별한 프로젝트들 중에서 여러분을 따뜻하게 대해주는 커뮤니티의 프로젝트에 집중하세요. 그리고 커뮤니티 안에서 서로 피드백이 자주 오가는지, 처음 가입하는 사람들에게 신경을 쓰는지, 지원을 충실히 하고 있는지 확인하세요.</p><h4>프로젝트에서 무엇을 해야할까요?</h4><p>축하합니다! 여러분은 멋진 프로젝트를 찾았습니다. 이제 무엇을 해볼 수 있을까요? 이런 문서 작업부터 시작해보면 어떨까요?</p><ol><li>README — 프로젝트 안내 문서</li><li>CONTRIBUTING (a.k.a. HACKING ) — 프로젝트 참여 방법과 관련 정보</li><li>LICENSE (a.k.a. COPYING) — 저작권관련</li><li>Code of Conduct — 제품관련 규칙 및 강령</li><li>여러분이 스스로 찾아낸 문제들</li><li>이슈 라벨중에 “good first issue”, “help wanted”, “E-easy”등이 달려있는 문제들</li></ol><h4>문제 해결을 위한 개발환경 만들기</h4><ol><li>Git 등의 버전 관리 Repository</li><li>프로그래밍 작업 환경 ex) JDK</li><li>패키지 매니저 ex) Maven, npm, etc</li><li>프로젝트를 Fork 혹은 Clone</li><li>구성된 환경 안에서 프로젝트 빌드가 가능한지 확인합니다</li><li>실패한다면, 물어보세요. 그리고 이 과정을 문서화하세요.</li></ol><h4>여러분의 첫번째 PR(Pull request)을 만들어봅시다!</h4><p>프로젝트에 참여해서 작업을 진행합니다. 그리고 작업물을 제출합니다. 피드백을 받고 다시 수정을 합니다. 피드백을 다시 받고 다시 수정이 진행되는 주기가 반복됩니다. 그리고 축하합니다! 드디어 여러분의 작업이 정식으로 Merge됩니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ugXwUSX8Cn5rL-5FfwZzJw.jpeg" /><figcaption>멋지네요! 여러분의 작업이 프로젝트에 머지되었습니다!</figcaption></figure><p>여기에 도움이 되는 링크들을 추가해둘께요.</p><ol><li><a href="https://guides.github.com/introduction/flow/">Understanding the Github flow</a></li><li><a href="https://lab.github.com/courses">Github Learning Lab</a></li></ol><p>맺음말</p><p>오픈소스에 참여하는 일은 많은 시간을 들여야 하거나 높은 프로그래밍 수준을 요구하는 것이 아닙니다. 오픈소스에 참여하고 싶은데, 어떻게 하는지를 모르겠다면, 커뮤니티에 물어보세요! 그리고 여러분의 첫번째 PR을 만들어 보세요.</p><p>소감</p><p>Selenium 역시 Open source이다보니 이 생태계를 잘 가꿀 수 있도록 많은 사람들을 참여시키는 문제가 중요한 주제로 다루어졌다. 막연하게 생각했었던 Open source에 대해 친절한 안내를 받고나니 용기와 자신감을 얻어 도전하고 싶은 욕구를 불러일으키는 시간이었다. 그리고 커뮤니티에서 많은 사람들을 만나 성장할 수 있는 구체적인 비전을배운 것도 의미가 컸다.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f512f3b51028" width="1" height="1" alt=""><hr><p><a href="https://medium.com/selenium-korea/collaborating-on-open-source-software-f512f3b51028">Collaborating on open source software</a> was originally published in <a href="https://medium.com/selenium-korea">selenium-korea</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Selenium Conference Tokyo 2019]]></title>
            <link>https://medium.com/selenium-korea/selenium-conference-tokyo-2019-10b9bc13a52?source=rss----3bf15ff37e74---4</link>
            <guid isPermaLink="false">https://medium.com/p/10b9bc13a52</guid>
            <category><![CDATA[swingvy]]></category>
            <category><![CDATA[conference]]></category>
            <category><![CDATA[selenium]]></category>
            <dc:creator><![CDATA[정원덕]]></dc:creator>
            <pubDate>Sat, 04 May 2019 10:02:39 GMT</pubDate>
            <atom:updated>2019-05-20T23:43:43.462Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zp5HXegO6WIFJEoCmqB7EQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*hq0eXja6JNBAXW8SUsnGZA.jpeg" /><figcaption>Selenium 2019 Tokyo Conf가 열린 후나보리구. 컨퍼런스 참가자는 모두 빨간 티셔츠 선물로 받았습니다.</figcaption></figure><p>저는 <a href="https://www.swingvy.com/"><strong>Swingvy</strong></a>에서 테스트 자동화를 담당하고 있습니다. 제 팀은 Selenium을 자동화 툴로 사용중인데요, 때마침 도쿄에서 <a href="https://conf.selenium.jp/"><em>Selenium Conference</em></a>가 열려서 참가하게 되었습니다. 전체적인 요약은 다음과 같습니다.</p><ol><li>W3C WebDriver Specification이 공식적으로 진행되면서 Testing framework간의 상호교류가 더 활발해질 것이다</li><li>CI/CD과정에서 테스팅의 역할이 중요하다</li><li>Docker의 사용으로 Windows의 IE/EDGE 브라우저도 확장가능한 테스트를 수행할 수 있다</li><li>TDD(Test Driven Development)는 테스트 코드 작성에도 필수적이다</li></ol><p>각 세션별의 내용은 별도의 글로 나누어 소개할 예정입니다.</p><p>Day 1 (20th April 2019)</p><ol><li><a href="https://medium.com/@wonder13662/keynote-state-of-the-union-simon-stewart-7775169245cf">[Keynote] State of the Union — Simon Stewart</a></li><li><a href="https://github.com/tourdedave/selenium-ide-plugins">How I learned to stop worrying and love record and playback</a></li><li><a href="https://medium.com/@wonder13662/selenium-testing-at-the-speed-of-headless-4cd4aa1e42e5">Selenium Testing at the Speed of headless</a></li><li><a href="https://medium.com/@wonder13662/development-platform-for-the-mobile-app-in-yahoo-japan-corporation-3beb6a4908ce">Development platform for the Mobile app in Yahoo Japan Corporation</a></li><li><a href="https://medium.com/@wonder13662/how-selenium-and-appium-support-line-services-1383b1002efe">How Selenium and Appium support LINE services</a></li><li><a href="https://medium.com/@wonder13662/testing-in-weekly-release-cookpad-inc-ed8bb758de31">Testing in weekly release (Cookpad Inc)</a></li></ol><p>Day 2 (21st April 2019)</p><ol><li><a href="https://medium.com/@wonder13662/the-future-of-selenium-9774601377b7">The future of Selenium</a></li><li><a href="https://medium.com/@wonder13662/the-edge-of-the-pyramid-6b0fee53315">The edge of the pyramid</a></li><li><a href="https://medium.com/@wonder13662/collaborating-on-open-source-software-f512f3b51028?source=friends_link&amp;sk=09da8af1f401463b5da8c6acff6803dd">Collaborating on open source software</a></li><li><a href="https://medium.com/selenium-korea/windows-browsers-how-to-run-them-in-docker-containers-e8a02914a52d">Windows Browsers: how to run them in Docker containers</a></li></ol><p>세션 이후에는 다음과 같은 장점들을 느꼈습니다.</p><ol><li>미래의 테스팅 기술의 흐름을 알 수 있었다</li><li>테스팅과 관련한 여러 사람들의 이야기와 고민을 나눌 수 있었다</li><li>즉시 적용해 볼 수 있는 새로운 기술들을 배울 수 있었다</li><li>컨퍼런스는 채용의 장이다</li><li>Selenium Korea Usergroup이 필요하다!</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=10b9bc13a52" width="1" height="1" alt=""><hr><p><a href="https://medium.com/selenium-korea/selenium-conference-tokyo-2019-10b9bc13a52">Selenium Conference Tokyo 2019</a> was originally published in <a href="https://medium.com/selenium-korea">selenium-korea</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The edge of the pyramid]]></title>
            <link>https://medium.com/selenium-korea/the-edge-of-the-pyramid-6b0fee53315?source=rss----3bf15ff37e74---4</link>
            <guid isPermaLink="false">https://medium.com/p/6b0fee53315</guid>
            <category><![CDATA[conference]]></category>
            <category><![CDATA[selenium]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[정원덕]]></dc:creator>
            <pubDate>Sat, 04 May 2019 10:02:12 GMT</pubDate>
            <atom:updated>2019-05-04T10:02:11.860Z</atom:updated>
            <content:encoded><![CDATA[<p>모든 회사가 동일한 테스팅 피라미드(Unit test/Component test/End2End test)을가져야 할까요? 스포츠 디바이스 업체 <a href="https://www.leomo.io/">Leomo</a>의 Elena Alejo는 그렇지 않다고 이야기합니다. 왜일까요?</p><h4>Ice cream anti-pattern</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JtaskuYuIm9GhapytzB8oA.jpeg" /><figcaption>좋지 않은 테스트 피라미드 패턴중 하나는 아이스크림패턴입니다</figcaption></figure><p>여러분의 회사의 테스팅 문화가 아이스크림 패턴이라면 이것은 좋지 않은 신호입니다. 여러가지 증상으로 이 패턴을 감지할 수 있습니다. 아래 중 혹시 해당하는 것이 있는지 한번 생각해볼까요?</p><ol><li>테스트 진행 속도가 느림</li><li>빌드가 실패</li></ol><p>UI 테스트(End2End)는 Unit 테스트에 비해 실패하기 쉽습니다. 네트웍 문제, 기기의 문제, 예측하지 못했던 UI 혹은 기능의 수정들이 원인입니다.</p><h4>Original testing pyramid</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OHAZWeih8mJN7ruIcvOCVQ.jpeg" /><figcaption>이상적인 테스팅 피라미드</figcaption></figure><p>Mike Cohn의 “<a href="https://martinfowler.com/articles/practical-test-pyramid.html">Original testing pyramid</a>”는 그의 저서 “<a href="https://www.amazon.com/Succeeding-Agile-Software-Development-Using/dp/0321579364">Succeeding with Agile</a>” 에서 처음 등장했습니다. 아마 대부분의 제품팀에서 테스팅 문화를 어떻게 만들어 갈지 고민할 때 이 패턴을 염두에 두고 테스트를 진행할 것입니다. 작고 독립적인 단위의 테스트는 빠르게 수행됩니다. 크고 복잡하게 연결되어 있는 통합테스트는 느리게 진행됩니다. 그러므로 개발 프로세스에서 작은 단위에 테스트가 많이 수행될 수록 비용이 절감됩니다.</p><h4>Case study: <a href="https://www.leomo.io/">Leomo</a>의 피라미드</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LKBzToO4B6yQva2sVDFWkA.png" /><figcaption>Leomo는 어떤 테스트 피라미드를 가지고 있을까요?</figcaption></figure><h4>TIP 1: Know your architecture</h4><p>테스트 피라미드를 만들기 위해서는 서비스 구조에 대해 이해해야 합니다. Leomo의 웹서비스의 구조는 다음과 같이 이루어져 있습니다.</p><ol><li>React website</li><li>REST API Server</li><li>S3(Static file storage. fonts, images, etc)</li><li>DB</li><li>Worker</li></ol><p>그리고 구조를 도식화하면 이런 그림이 될 거에요.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pykn2uBjiI7qtjPg_JBuhg.jpeg" /><figcaption>Leomo의 Web site architecture</figcaption></figure><h4>Tip2: Make your team feel part of the quality process</h4><p>내용 보강 필요.</p><p>QA Engineer 뿐만이 아닌 Software engineer 역시 제품 품질에 참여할 수 있는 문화가 마련되어야 합니다.</p><h4>Tip 3: Choose which layer is the best for your test</h4><p>제품 개발 환경에 맞는 테스트 레이어를 선택하는 것이 중요합니다. 모든 것을 알 수 있는 상황이라면 Whitebox testing을 시도해 볼 수 있습니다. 하지만 협업이 제한적이라면Graybox testing으로 결함을 찾아 볼 수도 있습니다. 시간이 제한적이고 제품기능의 정의만 알고 있는 정도라면 Blackbox testing도 좋은 선택이 될 수 있습니다. 참고로 말씀드리자면 Leomo는 Graybox testing을 선택했습니다.</p><ol><li><a href="https://en.wikipedia.org/wiki/Black-box_testing">Blackbox testing</a></li></ol><p>테스터는 기능의 내부적인 동작 과정을 전혀 알 수 없습니다. 입력과 출력에 나타나는 정보만을 알고 테스트를 진행합니다. 다시 말해 무엇이 수행되고 완료되는지 - 기능 명세 정의 - 만을 알고 있으며, 왜 그렇게 되는지에 대해서는 알지 못합니다. 이 테스트는 Unit, Component, Integration(통합), Acceptance(인수) 테스트 등의 모든 단계에서 사용될 수 있습니다.</p><p>2. <a href="https://en.wikipedia.org/wiki/Gray_box_testing">Graybox testing</a></p><p>테스터는 기능의 내부 동작과정의 일부를 알고 있습니다. 이 방법은 Blackbox testing과 Whitebox testing을 섞어 놓은 것입니다. 테스터는 DB에 접근해서 테스트된 데이터를 조회할 수 있으며, 알고리즘 구조와 서비스 아키텍쳐에 대해 부분적으로 알고 있습니다. 그리고 서비스 기능 동작이 정의된 높은 수준의 문서를 관리하고 있습니다. 그럼으로써 서비스의 결함을 빠르게 파악할 수 있습니다.</p><p>3. <a href="https://en.wikipedia.org/wiki/White-box_testing">Whitebox testing</a></p><p>테스터는 기능의 내부 동작과정을 완전히 알고 있습니다. 테스터는 입력값이 무엇이고, 출력값이 어떻게 나와야 할지 알고 있습니다. 그리고 에러가 발생했다면 몇번 라인에서 발생했으며 원인이 무엇인지 알 수 있어야 합니다. 이것은 Unit 단위의 작은 테스트에서 선호되었던 방법이었지만, 지금은 통합 테스트나 시스템 테스트같은 큰 단위의 테스트에서도 사용되고 있습니다.</p><h3>Let’s take a look into the Leomo’s pyramid — Website</h3><h4>Unit testing layer</h4><ol><li>UI Test는 <a href="https://github.com/airbnb/enzyme">Enzyme</a>을 사용합니다</li><li>Backend에서는 <a href="https://www.djangoproject.com/">Django를 사용합니다</a></li><li>비즈니스 코드를 테스트하기 위해 <a href="https://en.wikipedia.org/wiki/White-box_testing">Whitebox tesitng</a>을 진행합니다</li><li>테스터와 엔지니어가 Pair testing을 진행합니다</li></ol><h4>Component testing layer</h4><p>Leomo는 Django로 REST API 컴포넌트 테스트를 진행합니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sZ_dqDdS0nhRUNUOLsM27A.jpeg" /><figcaption>Leomo에서는 Django로 API Test가 가능합니다</figcaption></figure><h4>Api testing vs Unit http testing</h4><ol><li>Unit http testing</li></ol><p>Backend 코드내에서 http 응답을 주고 받는 과정을 Mock 객체로 대신해서 테스트하는과정을 말합니다. 실제로 통신을 네트워크로 주고 받지 않으므로 매우 빠르게 테스트가 진행될 수 있습니다. 초당 100회 이상의 테스트가 가능합니다. 구글에서 제공하는 <a href="https://developers.google.com/api-client-library/java/google-http-java-client/unit-testing">Http Unit Testing</a> 라이브러리가 좋은 예입니다. 하지만 이 테스트가 실제 서비스가 연동되어 하는 동작들을 검증하기는 어렵습니다.</p><p>2. Api testing</p><p>앞서 말한 Django로 진행하는 Api 테스트입니다. 실제로 Api 서버에 Api 호출을 통해 서비스의 기능을 확인해 볼 수 있습니다. 하지만 네트워크를 통해 통신이 이루어지므로 속도가 느립니다. 계정 등록, 로그인 등의 기능을 검증하는데도 몇초에서 몇분이 걸릴 수 도 있습니다.</p><h4>Leomo’s Api testing flow</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GnwAEsd_AZ1Ze1-Cs-lDcg.jpeg" /><figcaption>Leomo의 API Testing의 흐름</figcaption></figure><p>API Testing을 통해 얻을 수 있는 가장 큰 장점은 여러 대의 Device가 연결되어 진행되는 기능들을 Device없이도 재현해 볼 수 있었던 점입니다. 이 방법으로 UI에서 보여지는 사전 조건을 미리 만들어 둘 수 있습니다. Sign up 전의 조건과, Sign up 후의 조건에 따라 Mobile app의 화면이 달라질텐데요, 이를 위해서 Manual로 실제로 Sign up을 할 필요가 없이 Sign up Api testing을 수행하면 되는 것이죠.</p><h4>Leomo’s UI Testing</h4><ol><li>End2End 테스트에 집중하고 있습니다</li><li>Selenium으로 다양한 브라우저를 테스트합니다</li><li>Smoke test도 수행합니다</li><li>수동으로 탐험적(Exploratory) 테스트를 진행합니다</li></ol><h4>Leomo’s Test pyramid shape — Website</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XiLES6GVnfWK_5seKb6d0w.jpeg" /></figure><p>Leomo의 테스트 피라미드를 살펴볼께요.</p><ol><li>Manual explorative test</li><li>Automated End2End test</li><li>Automated API test</li><li>Automated Integration test</li><li>Automated Component test</li><li>Automated Unit test</li></ol><p>위쪽일 수록 빈도가 적고 아래쪽일수록 빈도가 높습니다.</p><h3>Leomo’s Mobile Testing</h3><h4>UI Test</h4><ol><li>Android: <a href="https://developer.android.com/training/testing/espresso">Espresso</a> and <a href="https://github.com/RobotiumTech/robotium">Robotium</a></li><li>iOS: <a href="https://developer.apple.com/documentation/xctest">XCTest</a></li></ol><h4>Integration test</h4><ol><li>Android: <a href="http://robolectric.org/">Robolectric</a></li></ol><h4>Unit test</h4><ol><li>Android: <a href="https://developer.android.com/studio/test/index.html?hl=ko">JUnit</a>, <a href="https://developer.android.com/training/testing/unit-testing/local-unit-tests">Mockito</a>, <a href="https://github.com/powermock/powermock">PowerMock</a></li></ol><h4>Leomo’s Mobile testing pyramid</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e4S9BdN9hkomncH0jKWQNg.jpeg" /><figcaption>Leomo에서는 모바일 테스트는 피라미드 형태가 아닙니다!</figcaption></figure><h3>Conclusion</h3><ol><li>여러분의 서비스 구조(Architecture)를 알아야 합니다</li><li>테스팅 툴에 대해 조사하세요</li><li>Unit level에서 최대한 많은 테스트를 만드세요</li><li>Gray testing을 진행하세요</li><li>개발자와 Pari testing을 하세요</li></ol><h4>소감</h4><p>조금 두서없이 차례가 진행되기는 했지만, Device를 만드는 업체에서 어떻게 테스트 자동화를 진행하고 있는지 알 수 있었던 기회였습니다. 그리고 개발자와 협업을 최대한 많이 하는 제품 개발 문화도 다소 부러웠던 것도 사실이었습니다. 세션 이후 개발자와의 협업을 이끌어 내기 위한 방법에 대한 질문을 개인적으로 드렸었는데, 이것은 개인과 팀의 성향의 방향인 것처럼 보였습니다. 테스트에 관심이 많은 사람들과 먼저 이런 시도를 해보고 확대해 가는 것이죠. 그리고 이런 흐름을 더 크게 키워가는 것입니다. 그리고 다양한 툴로 테스팅 과정을 구축한 것도 흥미로웠습니다.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b0fee53315" width="1" height="1" alt=""><hr><p><a href="https://medium.com/selenium-korea/the-edge-of-the-pyramid-6b0fee53315">The edge of the pyramid</a> was originally published in <a href="https://medium.com/selenium-korea">selenium-korea</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The future of Selenium]]></title>
            <link>https://medium.com/selenium-korea/the-future-of-selenium-9774601377b7?source=rss----3bf15ff37e74---4</link>
            <guid isPermaLink="false">https://medium.com/p/9774601377b7</guid>
            <category><![CDATA[selenium]]></category>
            <category><![CDATA[karate-api]]></category>
            <category><![CDATA[conference]]></category>
            <dc:creator><![CDATA[정원덕]]></dc:creator>
            <pubDate>Sat, 04 May 2019 10:01:41 GMT</pubDate>
            <atom:updated>2019-05-04T10:01:40.949Z</atom:updated>
            <content:encoded><![CDATA[<h4>Introduction of Speaker</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bBnju1e_GVDJkB9jhWQ_5w.jpeg" /><figcaption>Speaker: Peter Thomas</figcaption></figure><p>연설자인 Peter Thomas는 개발 생산성을 높여주는 소프트웨어를 만드는 회사인 <a href="https://opensource.intuit.com/">Intuit</a>에 재직중입니다. 이번 세션에서는 Selenium의 기본 토대인 WebDriver와 관련 기술들을 이야기 했습니다. 전체적인 아웃라인은 아래와 같습니다.</p><ol><li>What is the WebDriver?</li><li>Architecture</li><li>Example and Demos</li></ol><h4>Scope of this talk</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8AorKzC7i33gvMsvB4rXTA.jpeg" /><figcaption>Scope of this talk</figcaption></figure><p>이 세션은 WebDriver에 대해 다룹니다. <a href="https://www.w3.org/TR/webdriver/">WebDriver</a>가 무엇일까요? <a href="https://www.w3.org/TR/webdriver/">W3C Specification</a>에서는 “원격으로 웹을 제어하는 inteface 규약”이라고 설명하고 있습니다. Selenium은 WebDriver를 통해 브라우저를 제어합니다. 그리고 Selenium은 실제로는 3개의 제품을 가리키는 브랜드 이름입니다.</p><ol><li>Selenium Language Bindings (=Selenium WebDriver)</li><li>Selenium IDE</li><li>Selenium Grid</li></ol><p>이 3개의 제품 모두 WebDriver를 사용하고 있습니다. 그리고 <a href="https://www.w3.org/TR/webdriver/">WebDriver의 정의</a>를 살펴보면 재미있는 점을 찾을 수 있습니다.</p><ol><li>“WebDriver is a remote control interface”: <strong>REST API</strong></li><li>“that enables introspection and control of user agent”: like <strong>Web browser</strong></li><li>“It provides a platform and language-neutral wire protocol”: <strong>JSON</strong> over <strong>HTTP</strong></li><li>“as a way for out-of-process programs”: like <strong>Selenium</strong></li><li>“to remotely instruct the behavior of web browsers”: like <strong>Mobile</strong> and <strong>Desktop App</strong></li></ol><p>정의에 표현된 설명이 광범위하게 느껴지지만 실제로는 저희가 친숙하게 사용하는 기술혹은 도구들입니다.</p><h4>Who did make W3C WebDriver Specification?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0WAOUZ9OMKGpI57UtCaJlA.jpeg" /><figcaption>W3C WebDriver Specification은 누가 만들었을까요?</figcaption></figure><p><a href="https://www.w3.org/TR/webdriver/">W3C Specification</a>의 주요 편집자는 Simon Mavi Stewart, David Burns 입니다. 다음 링크로 <a href="https://www.w3.org/testing/browser/">Browser Testing and Tools Working Group</a>을 확인해보실 수 있습니다.</p><h4>WebDriver는 어떤 과정을 통해 동작할까요?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_S92x9z--LAuHG71djdcWg.jpeg" /><figcaption>WebDriver가 실제로 어떻게 사용되는지 살펴보자</figcaption></figure><p>우리가 작성하는 Selenium 실행코드가 브라우저까지 어떻게 동작하게 되는지 과정을 나누어 살펴보겠습니다.</p><ol><li>Framework</li></ol><p>테스트를 위해 작성하는 Selenium 코드를 실행하는 Test runner Framework을 의미합니다. Javascript라면 Mocha, Python은 Pytest, Ruby는 RSpec, Java는 JUnit을사용할 수 있습니다. Test runner Framework 자체의 성능이나 기능 차이는 크지 않습니다. 환경과 조건에 맞는 Framework을 선택하는 것이 중요하겠죠.</p><p>2. Bindings</p><p>이제 작성한 코드를 WebDriver가 이해할 수 있도록 바꿔줘야 합니다. Python, Ruby, Java의 경우, 우리가 Selenium이라고 부르는 프로그램이 언어별로 WebDriver가 이해할 수 있는 언어로 바꾸어 줍니다.(Javascript는 WebDriverIO 또는 NigthWatch.js) 이를 Language binding이라고합니다.</p><p>3. Driver</p><p>Selenium은 우리가 작성한 코드를 이해했습니다. 그럼 이것을 바로 브라우저로 보내서 사용자의 행동을 똑같이 따라할 수 있을까요? 하지만 브라우저는 Selenium이 보내는 명령을 이해하지 못합니다. 여기에 각 브라우저 벤더(제작사)가 제공하는 Driver가 필요합니다. Driver는 Selenium과 Browser를 연결하는 역할을 합니다. Chome은 chromedriver, Firefox는 geckodriver, Safari와 IE, Edge도 각각의 Driver가 있습니다. 드라이버는 구동되는 환경에 실제로 서버를 띄워서 REST API로 명령을 받아 수행합니다. 이 부분은 Selenium으로 작업을 진행할 때 눈에 띄지 않는 부분이라 쉽게 알아채기 어렵습니다. 세션 도중의 몇번에 Demo로 이 과정을 재현했는데요, 이해를 돕기 위해 관련 동영상을 함께 보시면 좋을 것 같습니다.</p><p><a href="https://youtu.be/NuhoIZCDxb0">https://youtu.be/NuhoIZCDxb0</a></p><p>그리고 Driver는 session을 관리해서 실제 사용자가 로그인해서 만들어지는 session의 역할을 재현해볼 수 있습니다. Selenium에서 여러개의 탭을 열거나 새창을 열어서 요청을 보내도 서버는 여러분이 동일한 유저임을 알 수 있습니다.</p><p>4. Browser</p><p>우리가 작성한 Selenium 코드가 실제로 브라우저에서 실행되는 단계입니다. 마치 살아있는 사람이 브라우저를 다루듯 동작하는 모습을 보실 수 있습니다. Safari를 제외한 모든 브라우저는 자동화 처리 과정에도 수동으로 Inspector 창을 열거나 Network response/request를 확인하는 처리가 가능합니다.</p><h4>Selenium, WebDriver 그리고 W3C까지의 흐름</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ik3l1HYZgjRfw82PBhXdng.jpeg" /><figcaption>The history: Selenium, WebDriver and W3C</figcaption></figure><ol><li>2004년: Selenium 출시</li><li>2006년 6월: WebDriver 출시</li><li>2008년 9월: Selenium과 WebDriver가 합쳐짐</li><li>2011년: Selenium2 출시. W3C 명세(Specification) 작업시작</li><li>2016년: Selenium3 출시.</li><li>2018년: WebDriver가 W3C Recommendation으로 등록</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jcTlpEZebnHCRAGhDCt9Jw.jpeg" /><figcaption>WebDriver가 사용하는 API가 W3C표준이되었습니다</figcaption></figure><h4>Demo를 통해서 WebDriver의 실제 동작을 알아봅시다!</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wg-N8sfGmRjunniw0zZzsw.jpeg" /><figcaption>cURL로 WebDriver를 제어해볼께요</figcaption></figure><p><a href="https://youtu.be/cRaUuh-23ug">https://youtu.be/cRaUuh-23ug</a></p><h4>Deme: Karate API</h4><p>W3C WebDriver 스펙으로 제어할 수 있는 것은 Selenium 뿐만이 아닙니다. 연설자인 Peter Thomas께서 재직중인 Intuit에서 만든 Karate API(Alpha)도 W3C WebDriver 스펙을따르고 있습니다. 그리고 Karate API는 API Testing, API Mocking, API Perfomance-Testing에 유용합니다. (여기서 제품 홍보가 들어가네요!)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9d34Jm5rBrmN6m1zoWCnhw.jpeg" /><figcaption>Karate API는 W3C WebDriver를 지원합니다.하지만 아직 알파버전!</figcaption></figure><p>Karate API를 사용한 데모도 진행되었습니다.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FUiHVMnMlosc%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DUiHVMnMlosc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FUiHVMnMlosc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b509a84c031ea2f6eeb2130b32c95668/href">https://medium.com/media/b509a84c031ea2f6eeb2130b32c95668/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FadFiE9V-lc8%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DadFiE9V-lc8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FadFiE9V-lc8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b4bdd4d55ca2bf1113d4f306e3138f14/href">https://medium.com/media/b4bdd4d55ca2bf1113d4f306e3138f14/href</a></iframe><h4>Windows App도 테스트 자동화가 가능하다구요?</h4><p>그렇습니다. Windows app들도 WebDriver가 있어서 Karate API로 제어할 수 있습니다. 데모 시연영상으로 확인하실 수 있습니다.</p><p><a href="https://youtu.be/bs8egGofDO0">https://youtu.be/bs8egGofDO0</a></p><h4>브라우저별 Driver는 어디있죠?</h4><p>Driver들의 최신 버전은 아래 링크에서 확인하실 수 있습니다.</p><ol><li><a href="https://sites.google.com/a/chromium.org/chromedriver/home">Chrome:Chrome driver</a></li><li><a href="https://github.com/mozilla/geckodriver">Firefox:geckodriver</a></li><li><a href="https://webkit.org/blog/6900/webdriver-support-in-safari-10/">Safari:safaridriver(Mac/Legacy)</a> &amp; <a href="https://developer.apple.com/safari/technology-preview/">Safari technology preview</a></li><li><a href="https://docs.microsoft.com/en-us/microsoft-edge/webdriver">MS Edge:MicrosoftWebDriver(Win 10)</a></li><li><a href="https://github.com/Microsoft/WinAppDriver">Windows Apps:WinAppDriver(Win 10)</a></li><li><a href="https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver">Internet Explorer:IEDriverServer(Win)</a></li></ol><h4>그 밖의 소식들</h4><ol><li>Edge도 향후에는 Chromium 기반으로 바뀐다고 합니다. 그렇다면 WebDriver를 지원하게 될까요?</li></ol><h4>Selenium 4에서 기대할 수 있는 것들</h4><ol><li>안정적인 API (유일하게 W3C 스펙을 지원)</li><li>Selenium Grid/Docker/Cloud</li><li>테스트의 관찰(Observability)과 추적(Tracing)이 강화</li><li>웹사이트와 문서화가 향상</li><li>엘리먼트를 찾는 Locator가 편리해짐 - “어떤 엘리먼트의 위나 혹은 오른쪽에 있는 걸 찾아줘” 라는 명령이 가능해짐</li><li>Selenium IDE</li></ol><h4>짧은 소감</h4><p>사용하고 있는 툴의 내부구조, 역사와 발전과정을 아는 것은 최고의 퍼포먼스를 내기 위해 반드시 필요한 과정이라고 생각합니다. 이번 세션은 그런 필요를 충분히 채워주었다고 생각됩니다. 유료 컨퍼런스에 자사 제품을 홍보하는 것은 의문이 들긴하지만, 테스팅툴의 선택의 폭을 넓혀준다는 점에서는 이해할 수 있겠습니다. W3C 명세에 WebDriver가 추가되면서 더 많은 브라우저와 Testing Framework이 Selenium과 호환되거나 혹은 Learning curve가 낮춰지면서 더 많은 문제를 해결할 수 있기를 기대해봅니다.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9774601377b7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/selenium-korea/the-future-of-selenium-9774601377b7">The future of Selenium</a> was originally published in <a href="https://medium.com/selenium-korea">selenium-korea</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Testing in weekly release (Cookpad Inc)]]></title>
            <link>https://medium.com/selenium-korea/testing-in-weekly-release-cookpad-inc-ed8bb758de31?source=rss----3bf15ff37e74---4</link>
            <guid isPermaLink="false">https://medium.com/p/ed8bb758de31</guid>
            <category><![CDATA[conference]]></category>
            <category><![CDATA[selenium]]></category>
            <dc:creator><![CDATA[정원덕]]></dc:creator>
            <pubDate>Sat, 04 May 2019 10:01:01 GMT</pubDate>
            <atom:updated>2019-05-04T10:01:01.071Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SPmyAzPOXO_e12DiuQf_nw.jpeg" /></figure><p>연설자</p><ol><li>Speaker: Kyohei Kato (Cookpad Inc.)</li><li>Quality Improvement group(QIG)에서 근무중</li><li>직함은 Software Engineer in Quality (SEQ)</li><li>Automated UI tests, QA, Mobile app에서의 테스트 환경 구현등의 주요 업무</li></ol><p>아젠다</p><ol><li><a href="https://cookpad.com/">Cookpad</a>에 대한 소개</li><li>모바일 앱 개발환경에서의 1주일 단위의 배포</li><li>1 주일 단위의 배포 환경에서 테스팅의 의미는 무엇인가?</li><li>1 주일 단위의 배포 환경에서의 문제점</li><li>이상적인 테스팅</li></ol><p><a href="https://cookpad.com/">Cookpad</a>가 뭐에요?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8S8Jq4rh4obLuOhCXfUQlg.png" /><figcaption>Cookpad Home(29th April 2019)</figcaption></figure><p><a href="https://youtu.be/kw-3w9F9FA0">https://youtu.be/kw-3w9F9FA0</a></p><ol><li>Web 기반으로 요리법을 공유하는 서비스입니다.</li><li>요리법을 올리거나 검색할 수 있습니다.</li><li>Android와 iOS앱을 출시했습니다.</li><li>1주일 단위 배포 환경을 약 6개월간 운영해오고 있습니다.</li></ol><p>1주일 단위 배포의 컨셉은 “사람이 기계에 맞춘다(Human adjust to machine)”입니다.</p><ol><li>고정된 배포일정에 따라서 배포를 진행</li><li>배포 업무는 자동화로 수행</li><li>매주 금요일 오후 2시에 자동 배포 스케쥴을 확정(아직까지는 1주일 단위가 제일 좋았음)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OUgvJllPFgOs98OeH-qSxQ.jpeg" /><figcaption>Cookpad의 배포스케쥴 관리</figcaption></figure><p>배포를 해야할지 말아야 할지 어떻게 결정하나요?</p><ol><li>iOS앱의 경우는 Apple의 App review 결과에 따라</li><li>각 개발자들의 변동사항에 따라</li><li>Quality Improvement Group(QIG)의 사전 테스트의 결과에 따라(며칠이 걸립니다)</li></ol><p>Quality Improvement Group(QIG)은 무엇인가요?</p><ol><li>Cookpad의 품질에 집중하는 팀입니다.</li><li>Cookpad 모바일앱에 참여하는 모든 팀과 협업을 합니다.</li><li>자동화 UI 테스트, QA, 테스트환경구축이 주요 업무입니다.</li></ol><p>QIG는 릴리스 전의 테스팅에서는 어떤 일을 하나요?</p><ol><li>수동 테스트와 자동화 테스트의 조합으로 Regression 테스트를 진행합니다.</li><li>자동화가 어려운 테스트는 수동으로 진행</li><li>모든 기능 변화에 대해서는 탐색적 테스팅(Exploratory testing)을 진행합니다.</li></ol><p>QIG는 어떤 자동화 테스트를 만드나요?</p><ol><li>Appium을 사용해 자동화 UI 테스트를 만듭니다.</li><li>Appium은 Selenium을 기반으로 한 자동화 툴인데요, Mobile App과 PC에서 널리 쓰이고 있습니다.</li><li>Appium은 Emulator와 실제 Device에서 모두 쓰입니다.</li><li>Regression test도 자동화 테스트 대상입니다.</li></ol><p>자동화 테스트 중 하나로 이미지 비교로 UI 변경을 확인합니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s9HTo8oPiPM7WVsKlJmytQ.jpeg" /><figcaption>Cookpad의 자동 이미지 비교(뭐가 다른지 맞춰볼수 있을까요?)</figcaption></figure><ol><li>자동화 테스트안에서 스크린 샷을 찍습니다.</li><li>사람의 눈으로 비교하기 힘든 부분을 자동화로 처리합니다.</li></ol><p>자동화 테스트로 처리할 수 없는 테스트들은 무엇이 있나요?</p><ol><li>기기 계정이나 복잡한 사용자 상태에 따른 결제과정</li><li>인앱 구매, 통신사를 통한 지불 수단 사용등</li></ol><p>그리고 모든 기능 변화에 대해 탐색적 테스팅(Exploratory testing)을 진행합니다.</p><ol><li>모든 개발팀이 테스팅에 참여합니다. 일반적인 사용 시나리오를 테스트합니다.</li><li>이슈로 발생한 명세의 변화를 개발자와 함께 탐색적 테스팅으로 확인합니다.</li><li>비정상적인 사용경로가 관련 기능에 영향을 미치지 않는지 확인합니다.</li></ol><p>결론</p><ol><li>1주일 단위 배포는 릴리스 주기를 짧게 가져가는데 도움을 주었습니다.</li><li>QIG의 배포 전 테스트는 릴리스 여부를 결정하는데 중요한 지표가 되었습니다.</li><li>이 과정은 매주 수동와 자동테스트의 조합으로 진행되었습니다.</li></ol><p>앞으로 도전할 과제는?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m7FDROVP7HMIgKgV3gAHeA.jpeg" /></figure><ol><li>개발팀에서 이슈나 앞으로의 개발 계획에 대해 더 많은 정보를 알 수 있어야 합니다.</li><li>왜냐하면 이 정보는 “배포 전 테스트”에 중요한 정보가 되기 때문입니다.</li><li>Regression test에서 어느 범위까지 자동화가 가능한지?</li><li>의도하지 않은 UI 변화가 무엇인지?</li><li>탐색적 테스팅에서 어느 부분에 집중해야 할지?</li></ol><p>“배포전 테스트”에서 피할수 있었던 문제들</p><ol><li>배경지식으로 있었던 요구사항들에 대해 이해하지 못했던 점</li><li>그래서 복잡한 사용자상태에 대해 이해하지 못했었음</li><li>기능 구현 이후에 기능 요구사항에 숨어 있던 문제를 알게 됨</li><li>왜냐하면 테스트 시점에 숨어있던 문제는 테스트 영역 바깥이라서 테스트 되지 않기 때문입니다.</li><li>다행히도 테스트 단계에서 발견되었지만, 그렇지 않았다면 유저가 버그리포트를 직접 주었을수도 있었을 겁니다.(Worst case)</li></ol><p>“1주일 단위의 배포”가 가져온 문제들</p><ol><li>개발팀과 테스팅팀이 같은 장소와 시간에 함께 있지 못해 발생하는 문제가 있었음</li><li>개발팀의 제품개발속도를 유지하기가 어려움</li><li>개발팀의 제품개발속도가 더 빨리 향상되어야 문제를 해결할 것으로 보임</li></ol><p>같은 기간동안 4배의 릴리스를 수행함</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GRauFp98tM9-UTAcAq6p8w.jpeg" /><figcaption>4배나 많은 릴리스를 내보냈어요! 대단해요!</figcaption></figure><p>개발 부서에서의 Testing</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q7DStzZc6dABJY2s-dcV7w.jpeg" /></figure><ol><li>개발 부서도 테스팅과 제품 품질에 대해 생각하도록 해야 합니다.</li><li>릴리스된 제품의 품질과 결함이 고객에게 어떤 영향을 미치는지 알아야 합니다.</li><li>개발 부서에서는 어떻게 품질을 보장할 수 있을까요?</li><li>개발팀안에서의 잠재적인 품질 기대치를 알아봅시다. 레시피 공유가 불가능해서 고객이 불편을 겪는다면? 타겟유저들이 측정불가능하다면? 이것들은 꼭 동작해야 하는 기능이 아닐까요?</li></ol><p>Agile Tester가 됩시다!</p><ol><li>개발팀에서 제품 품질에 관심을 갖는 사람들</li><li>제품 품질 관점에서 개발팀 내에서 테스팅에 집중</li><li>제품 요구 사항이나 구현 과정에 장애가 되는 부분들을 이슈로 올림</li><li>유연한 테스트를 제안할 수 있어야 함</li></ol><p>더 나은 서비스 개발을 위해 필요한 것들</p><ol><li>개발팀 내에서 품질과 테스팅을 책임지고 주도할 수 있는 사람들</li><li>개발팀과 QIG간의 의사소통을 촉진할 수 있는 문화</li><li>개발 속도를 올리는 것</li></ol><p>요약</p><ol><li>“1주일 배포 주기”를 통해 Cookpad mobile app을 성공적으로 런칭할 수 있었다.</li><li>여기서 QIG의 “사전 배포 테스팅”이 중요한 역할을 하였다</li><li>개발팀과 QIG간의 소통 부족이 문제점으로 발견되었다</li><li>개발팀에서의 제품 품질과 테스팅에 대한 관심과 노력이 중요하다</li><li>개발팀과 QIG의 협업은 제품 개발의 중요한 요소다</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed8bb758de31" width="1" height="1" alt=""><hr><p><a href="https://medium.com/selenium-korea/testing-in-weekly-release-cookpad-inc-ed8bb758de31">Testing in weekly release (Cookpad Inc)</a> was originally published in <a href="https://medium.com/selenium-korea">selenium-korea</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Selenium and Appium support LINE services]]></title>
            <link>https://medium.com/selenium-korea/how-selenium-and-appium-support-line-services-1383b1002efe?source=rss----3bf15ff37e74---4</link>
            <guid isPermaLink="false">https://medium.com/p/1383b1002efe</guid>
            <category><![CDATA[conference]]></category>
            <category><![CDATA[selenium]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[정원덕]]></dc:creator>
            <pubDate>Sat, 04 May 2019 09:59:57 GMT</pubDate>
            <atom:updated>2019-05-04T09:59:57.000Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j1NkZWa0hlRHBYwoFIRowQ.jpeg" /><figcaption>Speaker — Hiroaki Ozono (Automated Test Team at LINE Fukuoka)</figcaption></figure><p>라인 재팬은 메신저, 스티커, 핀테크(LINE PAY) 사업을 진행중입니다. 그리고 AI와 Commerce 영역으로 사업을 확장중입니다. 비즈니스 규모가 크기 때문에 자동화엔지니어(Automated test engineer)와 SET(Software engineer in Test) 인원은 각 프로젝트 팀에 할당되어 프로젝트를 진행하고 있습니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1zJ1hwDOjCVMv1Vu4M9DfA.jpeg" /><figcaption>자동화 테스트 엔지니어와 SET는 각각의 프로젝트에 배치됩니다</figcaption></figure><p>SET Team Tokyo에서는 보다 나은 개발 경험을 만든다는 목적을 위해 노력하고 있습니다. 이를 WOW DX(Developer eXperience) 라고 부르는데요, Microservice 환경을개선하는데 집중하고 있습니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6LJtrB3Scsut152fMGU8Ew.jpeg" /><figcaption>SET Team Tokyo의 WOW DX</figcaption></figure><p>마이크로 서비스를 위해 사용중인 툴로는 <a href="https://kubernetes.io/ko/docs/concepts/overview/what-is-kubernetes/">Kubernetes,</a> <a href="https://github.com/intuit/karate">Karate API</a>가 있습니다. 그리고 Agile 개발문화를 위해 <a href="http://poweragile.com/scrum/certifications/path-to-csp-sm/">CSP-SM</a> (Certified Scrum Professional) 를 획득한 스크럼 마스터들을 늘려가고 있습니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tpnjIBNeaUJ4l2ats_nLnQ.jpeg" /><figcaption>LINE JAPAN SET Team에서 사용중인 테스팅 소프트웨어들</figcaption></figure><p>그리고 SET Team에서는 다음과 같은 소프트웨어를 사용하여 테스팅 업무를 하고 있습니다.</p><ol><li><a href="http://appium.io/">Appium</a> for Mobile App and Web testing</li><li><a href="https://spring.io/">Spring</a></li><li>Drone</li><li><a href="https://jenkins.io/">Jenkins</a> for CI/CD</li><li><a href="https://junit.org/junit5/">JUnit5</a> for Unit testing</li><li><a href="https://www.seleniumhq.org/">Selenium</a> for End2End</li><li><a href="https://gradle.org/">Gradle</a> for build automation</li><li><a href="https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/testing_with_xcode/chapters/09-ui_testing.html">XCUITest</a> for iOS</li><li><a href="https://developer.android.com/training/testing/espresso">Espresso</a> for Android</li><li><a href="https://opencv.org/">Open CV</a> for image detection</li><li><a href="https://www.docker.com/">Docker</a> + <a href="https://kubernetes.io/ko/docs/concepts/overview/what-is-kubernetes/">Kubernetes</a></li></ol><p>하지만 한가지 문제가 있었는데요, 그것은 테스트 결과에 대해 가독성이 나빴다는 점이었습니다. 그래서 SET Team에서는 아래와 같은 시스템 구축을 통해 문제를 해결했습니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jPb-WGNEZHFeWOkWTSYgJg.jpeg" /><figcaption>Test reporing system in SET Team</figcaption></figure><p><a href="https://square.github.io/retrofit/">Retrofit은</a> Java 코드 안에서 HTTP API 통신을 도와주는 라이브러리입니다. Retrofit으로 API Testing을 진행, 테스트 결과를 서버에 저장합니다. 그리고 이 테스트 결과를 Vue.js로 만든 페이지에서 보는 것이죠. (여러 상용툴도 많았을 텐데 Requirement를 만족시키는 경우를 찾지 못한 걸로 생각되네요)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wP8Gsm8IpOJX0V4R-IrmkA.jpeg" /><figcaption>Testing report view</figcaption></figure><p>어떤 문제점을 찾고 해결한 과정을 공유하기보다는 테스팅 프로세스와 리포팅시스템의소개정도로 그쳐 아쉬움이 있던 발표였습니다. 하지만 LINE 정도 규모에서 Testing을 어떻게 생각하고 발전시켜나가고 있는지 알 수 있었던 기회였습니다. <a href="https://speakerdeck.com/line_developers/how-selenium-and-appium-support-line-services">원본 슬라이드링크</a>를 공유드리니 상세한 내용이 필요하시다면 참고하시면 좋을 것같네요.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1383b1002efe" width="1" height="1" alt=""><hr><p><a href="https://medium.com/selenium-korea/how-selenium-and-appium-support-line-services-1383b1002efe">How Selenium and Appium support LINE services</a> was originally published in <a href="https://medium.com/selenium-korea">selenium-korea</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Selenium Testing at the Speed of headless]]></title>
            <link>https://medium.com/selenium-korea/selenium-testing-at-the-speed-of-headless-4cd4aa1e42e5?source=rss----3bf15ff37e74---4</link>
            <guid isPermaLink="false">https://medium.com/p/4cd4aa1e42e5</guid>
            <category><![CDATA[conference]]></category>
            <category><![CDATA[selenium]]></category>
            <category><![CDATA[headless-chrome]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[sauce-labs]]></category>
            <dc:creator><![CDATA[정원덕]]></dc:creator>
            <pubDate>Sat, 04 May 2019 09:59:00 GMT</pubDate>
            <atom:updated>2019-05-04T09:59:00.474Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ARmgpY-p6C0viWYcswp-eQ.jpeg" /><figcaption>Speaker: Alissa Lydon / Samantha Coffman (Sauce Labs)</figcaption></figure><p>Sauce labs에서 실제 경험했던 문제를 Headless browser testing으로 해결한 사례를 공유한 세션이었습니다. 문제들은 다음과 같았다고 합니다.</p><ol><li>End2End 테스트 결과를 Pipeline 단계안에서 일찍 피드백을 받을 수 있다면 개발 속도를 향상시킬수 있을 것 같다</li><li>기존 End2End 테스트나 CI/CD 내에서의 테스트는 비용이 크다</li><li>End2End 테스트를 가볍게 돌려볼 수 없을까?</li></ol><p>초기 선택은 기존 Pipeline에서 End2End 테스트를 그대로 개발 직후에 수행할 수 있도록 환경을 구성해주는 것이었습니다. 하지만 다음과 같은 이유로 중단하게 됩니다.</p><ol><li>개발자들이 End2End 테스트에 사용되는 언어와 친숙하지 않아 부담</li><li>QA팀과의 리소스 공유가 필요한데, 이것이 병목 현상을 일으킴</li><li>Pipeline의 Infrastructure를 이른 시점에 테스트가 가능하도록 조정하는데 드는 비용이 큼</li></ol><p>그래서 Sauce labs 팀은 Headless browser testing을 초기 단계의 테스트 수단으로 고려했습니다. 장점은 다음과 같습니다.</p><ol><li>UI 없이 테스트를 수행합니다. 이는 테스트 속도를 빠르게 합니다</li><li>테스트를 경제적으로 수행할 수 있는 추가적인 옵션이 있습니다 - 병렬 수행등</li></ol><p>하지만 단점들도 있습니다.</p><ol><li>Chrome과 Firefox에서만 작동합니다</li><li>개발자들이 E2E 테스트에 사용되는 언어와 친숙하지 않은 경우, 테스트 작성 시간이 부담이 되었습니다</li></ol><p>이 선택은 Sauce labs에게 상황에 적절한 해답이란 점이 증명되었습니다. 제품 개발 프로세스 안에서 다음과 같은 결과를 얻을 수 있었습니다.</p><ol><li>기능 코드의 품질에 대해 빠른 피드백을 받을 수 있었습니다</li><li>QA 팀에게서 버그 피드백을 받기 이전에 먼저 수정할 수 있습니다</li><li>버그를 파악하기가 쉬워졌고 이를 파악하고 수정하는 비용이 절감되었습니다</li></ol><p>그렇다면 Headless testing이 Pipeline의 어느 단계에서 추가될 수 있을까요? 다음 단계가 효과적일 수 있습니다.</p><ol><li>개발 과정 내에서의 모든 Pull Request</li><li>Sanity test</li><li>확장성있는 인프라스트럭쳐의 <a href="https://en.wikipedia.org/wiki/Shift_left_testing">Shift left testing</a></li></ol><p>그렇다면 이 테스트는 어떤 종류의 테스트가 될까요?</p><ol><li>최소단위(Atomic)이며, 자동화(Autonomous)될수있으며, 짧은(Short) 테스트</li><li>테스트 수행이 병렬화가 쉬우며, 빠른 피드백을 받을 수 있는 것</li><li>Integration test for components</li></ol><p>실제로 개발 단계에서 개발자가 이 테스트를 이렇게 활용했습니다.</p><ol><li>최소단위(Atomic) 테스트를 개발 작업이 완료되는 이벤트마다 수행(commit, PR)</li><li>새로운 코드가 미치는 영향 범위에 해당하는 부분(subset) 테스트를 수행</li></ol><p>그렇다면 Sauce labs에서는 실제로 어떤 테스트를 해보았을까요? 아래는 브라우저별 화면 사이즈가 다른 경우의 레이아웃 구성을 확인한 예제입니다. 수동으로 확인하려면 상당한 리소스가 필요하겠지만, 자동화 코드로는 상대적으로 경제적인 테스트를 진행할 수 있겠습니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RHXYR5mkiiH7ZjHHRIA2Fw.jpeg" /><figcaption>Use Case — Window Resizing</figcaption></figure><p>그리고 현장에서 실행한 데모 테스팅입니다. 병렬 수행으로 몇 초만에 원하는 결과를 확인할 수 있었습니다.</p><iframe src="https://cdn.embedly.com/widgets/media.html?url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DCsEMMsZMjj0&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FCsEMMsZMjj0&amp;type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ca924b3a448dda2f5d57df89224dbe7f/href">https://medium.com/media/ca924b3a448dda2f5d57df89224dbe7f/href</a></iframe><p>테스트 개념 중에 Shift left testing을 위한 한가지 좋은 방안을 제안한 사례였습니다. 이를 위해서는 개발자 누구나 테스트 코드에 접근해서 수행할 수 있는 방법이 필요한데요, 이를 제공해주는 Cloud testing platform이 Sauce labs이기 때문에 강연을 진행하게 되지 않았나 싶습니다. 하지만 Shift left testing은 확실히 제품개발속도와 미래 기술부채를 일찍 해결할 수 있다는 점에서 Headless testing은 가치가 있다고 봅니다.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4cd4aa1e42e5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/selenium-korea/selenium-testing-at-the-speed-of-headless-4cd4aa1e42e5">Selenium Testing at the Speed of headless</a> was originally published in <a href="https://medium.com/selenium-korea">selenium-korea</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Development platform for the Mobile app in Yahoo Japan Corporation]]></title>
            <link>https://medium.com/selenium-korea/development-platform-for-the-mobile-app-in-yahoo-japan-corporation-3beb6a4908ce?source=rss----3bf15ff37e74---4</link>
            <guid isPermaLink="false">https://medium.com/p/3beb6a4908ce</guid>
            <category><![CDATA[conference]]></category>
            <category><![CDATA[yahoo-japan]]></category>
            <category><![CDATA[selenium]]></category>
            <dc:creator><![CDATA[정원덕]]></dc:creator>
            <pubDate>Sat, 04 May 2019 09:58:08 GMT</pubDate>
            <atom:updated>2019-05-04T09:58:08.517Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Ofwx28pCv9O74vL1uDnMw.jpeg" /><figcaption>야후 재팬의 CI/CD 과정과 테스팅 프로세스에 대해 설명한 세션</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oGp10yerBNCP7hlKcdpKzQ.jpeg" /><figcaption>Speaker: Nishijima Hiroshi</figcaption></figure><p>야후 재팬은 100개 이상의 서비스를 운영중입니다. 뛰어난 품질의 앱을 더 빠르게 만들기 위해서 다음과 같은 프로세스를 가지고 있다고 합니다.</p><ol><li>CI/CD: <a href="https://screwdriver.cd/">Screwdriver.cd</a></li></ol><p>Android와 iOS 앱을 C나 Java로 서버사이드에서 빌드할 수 있습니다. <a href="https://developer.android.com/training/testing/espresso">Espresso</a>, <a href="https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/testing_with_xcode/chapters/09-ui_testing.html">XCUITest</a>, <a href="http://appium.io/">Appium</a>의 테스트를 함께 수행합니다. 어플리케이션의 빌드 및 배포를 <a href="https://fastlane.tools/">Fastlane</a>으로 자동화했습니다. Screwdriver.cd를 통해 하루에 15,400회 이상의 빌드를 진행하고 있습니다. 그리고 40,000개 이상의 Pipeline을 만들었습니다.</p><p>2. Testing: <a href="http://appium.io/">Appium</a>, Applicat (Yahoo Japan의 사내 테스팅툴)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ftKkf9mCmkfRFEgeSmfwzQ.jpeg" /><figcaption>Appium으로 병렬로 여러 Device에서 테스트를 수행하고 결과를 확인</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cnFZBjLrN-yqy262jzpapA.jpeg" /><figcaption>Yahoo Japan의 사내툴인 Applicat으로 코드 작성없이 테스트 시나리오를 만드는 모습</figcaption></figure><p>3. Dogfooding: <a href="https://techblog.yahoo.co.jp/advent-calendar-2017/transit_ci_cd/">Approduce</a></p><p>Yahoo Japan의 개발팀에서는 “<a href="https://techblog.yahoo.co.jp/advent-calendar-2017/transit_ci_cd/">Approduce</a>”라는 앱 빌드, 테스트, 배포과정을 자동화한 툴이 있습니다. Web 상에서 소스 저장소와 브랜치를 지정하고 Fastlane을 설정하는 것만으로도 내부 시스템과 쉽게 연계가 될 수 있다고 합니다. 2017년 이후부터 사용하고 있습니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*jVoQWDnC8vgv-lJ51-gZaw.png" /><figcaption>Yahoo Japan “Approduce”는 이렇게 동작합니다</figcaption></figure><p>4. User feedback: <a href="https://github.com/yahoojapan/AppFeedback-ios">AppFeedback-ios</a>/<a href="https://github.com/yahoojapan/AppFeedback-android">AppFeedback-android</a></p><p>AppFeedback이란 라이브러리를 iOS, Android 버전으로 공개되어 있습니다. 앱에서 고객 피드백을 받아서 Slack API를 통해 바로 전달하는 역할을 합니다. 모바일 앱으로 고객 피드백을 받는 좋은 방법으로 생각됩니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SI517VbJHEsMu7iiCl7z-g.png" /></figure><p>5. Mapping Tools</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AE6hjWJfkGBpbWHRHa59Gw.jpeg" /><figcaption>Agile testing을 목적에 따라 4분면으로 나누었습니다</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hfKa4B8ocielTv0M-Zr-xA.jpeg" /><figcaption>그리고 실제로 사용중인 툴들은 각각의 4분면에 속하겠죠. Q4에는 무엇을 쓰고 있을까요?</figcaption></figure><p>회사마다 Agile testing에 필요한 툴의 선택은 다를수 있습니다. 하지만 이를 기능 목적을 파악해서 할당하고 제대로 동작하는지 확인하고 운영하는 과정은 쉽지 않습니다. Yahoo Japan은 각 툴들의 기능과 역할에 대해 적재적소에 배치해서 많은 수의 서비스를 효율적으로 운영하는 프로세스를 이룬 점이 인상적이었습니다. 여러분도 Agile testing map을 통해 운영하시는 서비스에 부족한 과정이 없는지 확인하는 건 어떨까요?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3beb6a4908ce" width="1" height="1" alt=""><hr><p><a href="https://medium.com/selenium-korea/development-platform-for-the-mobile-app-in-yahoo-japan-corporation-3beb6a4908ce">Development platform for the Mobile app in Yahoo Japan Corporation</a> was originally published in <a href="https://medium.com/selenium-korea">selenium-korea</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I learned to stop worrying and love record and playback]]></title>
            <link>https://medium.com/selenium-korea/how-i-learned-to-stop-worrying-and-love-record-and-playback-8a125a879d19?source=rss----3bf15ff37e74---4</link>
            <guid isPermaLink="false">https://medium.com/p/8a125a879d19</guid>
            <category><![CDATA[selenium-ide]]></category>
            <category><![CDATA[conference]]></category>
            <category><![CDATA[selenium]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[정원덕]]></dc:creator>
            <pubDate>Sat, 04 May 2019 09:57:15 GMT</pubDate>
            <atom:updated>2019-05-26T11:20:31.167Z</atom:updated>
            <content:encoded><![CDATA[<h4>연사 소개</h4><ul><li>Dave Haeffner</li></ul><h4>요약</h4><p>다음 버전의 Selenium IDE에 대해 설명합니다. 코드를 직접 만들지 않아도 Capture &amp; Replay를 통해 테스트 코드를 Export할 수 있어 QA Engineer에게 있어 의미있는 기능을 제공할 것으로 보입니다.</p><h4>본문</h4><p>Selenium IDE는 다음과 같은 10가지 개선사항에 대한 피드백을 받았다고 합니다.</p><ol><li>Smart element locator: 현재 가리키고 있는 element를 기준으로 사람의 시각으로 보았을 때, 위 또는 아래, 왼쪽, 오른쪽의 element를 찾아낼 수 있는 기능</li><li>Conditional waiting: 단순히 고정된 시간동안 대기하는 것이 아닌 DOM 위의 특정 이벤트 조건을 기준으로 대기하는 방법</li><li>Control structure: 테스트의 흐름을 제어하는 방법을 직관적인 제어툴로 제공</li><li>Easy assertion: Assertion을 IDE 내에서 쉽게 사용</li><li>Cross-browsing support: 다양한 브라우저에서 실행</li><li>Reporting: 수행 결과에 대해 성공/실패 여부와 원인을 빠르게 파악</li><li>Ability to insert code: ?</li><li>Continuous integration: 각 단계별 빌드에서 Selenium IDE를 통한 지속적인 빌드 산출물의 안정성 검사</li></ol><h4>Dave Haeffner의 다른 강연들</h4><p><a href="https://www.youtube.com/watch?v=Zf_qsXK6YdM">How To Use Selenium Successfully</a></p><h4>Dave Haeffner의 책</h4><p><a href="https://seleniumguidebook.com/">The Selenium Guidebook</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a125a879d19" width="1" height="1" alt=""><hr><p><a href="https://medium.com/selenium-korea/how-i-learned-to-stop-worrying-and-love-record-and-playback-8a125a879d19">How I learned to stop worrying and love record and playback</a> was originally published in <a href="https://medium.com/selenium-korea">selenium-korea</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>