1. Trang chủ
  2. » Công Nghệ Thông Tin

Pragmatic Project Automation Ayuthiyea pdf

172 92 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 172
Dung lượng 8,17 MB

Nội dung

[...]... web on the Pragmatic Project Automation book’s home page Check out http://www.pragmaticprogrammer.com/sk/auto Beyond the Book Throughout this book you’ll also encounter automation stories from the field Folks were kind enough to contribute these stories to share just how automation is helping them on their real-world projects Automation takes many forms and can be applied to all sorts of project activities... be the core procedures that are ripe for automation on all software projects But it doesn’t end there So when you reach the end of this book and want more, we invite you to tune in to http://www.pragmaticautomation.com On that site your tireless author will post news and content related to all sorts of project automation, including stories you submit from your project! A Place Called Home To guarantee... the complete file Define the Project Open your favorite text editor, and create a build.xml file in the root dms project directory The first line says that what follows is XML Then, on the second line, define the project An Ant build file defines one project Name your project using the name attribute of the element Setting the... to be accurate and consistent, then it’s time for automation But remember, this book is about being pragmatic Never spend more time developing an automated solution than the time the solution will ultimately save When Should Automation Run? The frequency of automation varies with the procedure being automated For example, the build process is commanded automation that runs whenever we want to create... of automation while preparing for the demo, they got feedback at each of the stages: building, deploying, and monitoring their software Imagine how stressful it might have been for the team otherwise 1.3 Questions About Automation Before diving into automation, it’s only natural to have questions Let’s look at some common ones What Do I Need to Get Started? The automation techniques used on Fred’s project. .. to check that all the project code worked in harmony Barney then ran the same automated tests to verify that the code in the release branch was ready for distribution At each step in the project life cycle, from writing code to deploying a new release, the automated tests were run to gain confidence before moving on Indeed, automated tests are the underpinning of effective project automation Writing good... age of automation for so long “1998 called,” Fred jokes “It wants all its manual, repetitive, boring work back.” Sure, Fred learned his lesson about missing files—but more important, he and his team learned to appreciate all the automation that’s watching their backs It was automation that reduced the risk of a failed demo by notifying them early when problems popped up, wherever they were It was automation. .. 2.2: Project Directory Structure 2.2 Choosing a Project Directory Structure Before you can start making builds, you need to lay out a directory structure for the project These directories will contain the inputs to the build process and store its outputs And not a moment too soon, the marketing department has returned from an extended off-site meeting where they came up with a name for our software project: ... create a build by running the appropriate file for their operating system That’s commanded automation at work, and for small projects a simple build script might just be enough But projects rarely stay small We’ll likely need to expand the build process to include steps in addition to simply compiling source files On Java projects, the build tool of choice is Ant Prepared exclusively for Robert McGovern 18... sort of automation used to make backups or process your payroll This is automation for those of us who are on the hook to deliver working software next week, the week after, and the week after that To keep that pace, we need to work smarter, not harder Manual processes of any duration quickly add up to big problems Automation is the antidote This book shows you how to automate your software project . the web on the Pragmatic Project Automation book’s home page. Check out http://www.pragmaticprogrammer.com/sk/auto. Beyond the Boo k Throughout this book you’ll also encounter automation sto- ries. . . . . . . . . . . . . . . 149 B Pragmatic Project Automation: Summary 150 Prepared exclusively for Robert McGovern About the Starter Kit Our first book, The Pragmatic Programmer: From Journeyman to. well- established “safety net” for your project. The first volume, Pragmatic Version Control, describes how to use version control as the cornerstone of a project. A project without ver sion control

Ngày đăng: 29/03/2014, 14:20