1 / 25

Agile Development Infrastructure

Agile Development Infrastructure. MUUG – June 13, 2006. Steve Moffat. Agile Development. Iterations of 3 – 4 weeks. Emphasize real time communication. Measured by working software. Sometimes criticized as undisciplined. Agile Development.

jmitch
Download Presentation

Agile Development Infrastructure

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Agile Development Infrastructure MUUG – June 13, 2006 Steve Moffat

  2. Agile Development Iterations of 3 – 4 weeks Emphasize real time communication Measured by working software Sometimes criticized as undisciplined

  3. Agile Development Agile methods are adaptive rather than predictive. Engineering methods tend to try to plan out a large part of the software process in great detail for a long span of time, this works well until things change. So their nature is to resist change. The agile methods, however, welcome change. They try to be processes that adapt and thrive on change, even to the point of changing themselves.Agile methods are people-oriented rather than process-oriented. The goal of engineering methods is to define a process that will work well whoever happens to be using it. Agile methods assert that no process will ever make up the skill of the development team, so the role of a process is to support the development team in their work.Martin Fowler

  4. Agile Development Productivity of the development team is key http://agilemanifesto.org/

  5. The Cycle, or Iteration release requirements develop design test

  6. Support Platforms Development Production Integration Test System Test User Acceptance Development Development Development Preview Load Test

  7. The pieces CruiseControl CVS CVSWeb Cobertura Bugzilla Apache Tomcat Apache WebServer Apache ANT Eclipse JUnit VQWiki Java

  8. DevelopmentWorkstations Eclipse Tomcat Windows Linux

  9. Eclipse and Tomcat Archive Unit Test Compile Develop

  10. JavaDoc… /** * Returns an Image object that can then be painted on the screen. * The url argument must specify an absolute {@link URL}. The name * argument is a specifier that is relative to the url argument. * <p> * This method always returns immediately, whether or not the * image exists. When this applet attempts to draw the image on * the screen, the data will be loaded. The graphics primitives * that draw the image will incrementally paint on the screen. * * @param url an absolute URL giving the base location of the image * @param name the location of the image, relative to the url argument * @return the image at the specified URL * @see Image */ public Image getImage(URL url, String name) { try { return getImage(new URL(url, name)); } catch (MalformedURLException e) { return null; } }

  11. …turns into getImage public ImagegetImage(URL url, String name) Returns an Image object that can then be painted on the screen. The url argument must specify an absolute URL. The name argument is a specifier that is relative to the url argument. This method always returns immediately, whether or not the image exists. When this applet attempts to draw the image on the screen, the data will be loaded. The graphics primitives that draw the image will incrementally paint on the screen. Parameters: url - an absolute URL giving the base location of the image name - the location of the image, relative to the url argument Returns: the image at the specified URL See Also: Image

  12. JUnit • JUnit – is a program to test a program • Easily integrated into new or existing java classes JUnit tests allow you to write code faster while increasing quality. JUnit tests check their own results and provide immediate feedback.

  13. JUnit public class HelloWorld extends TestCase { public void testMultiplication() { // Testing if 2*2=4: assertEquals ("Multiplication", 4, 2*2); } } A simple example

  14. JUnit @Test(expected= IndexOutOfBoundsException.class) public void empty() {      new ArrayList<Object>().get(0);  } Another simple example

  15. Many developers archive CVS Commit code Commit code Commit code Commit code Commit code

  16. CruiseControl Build Automation Continuous Integration Web Interface for status and control Supports multiple projects Status Email

  17. Cobertura Calculates the percentage of code accessed by JUnit tests Based on jcoverage Works by inserting instrumentation instructions into compiled code Records which lines of code have been tested Calculates complexity value Produces output in html or xml

  18. Build Server Java Doc Package CVS Tag JUnit test Instrument Compile CVS Export

  19. DevelopmentServer CVS / CVSWeb Ant Cobertura VQWiki Bugzilla HP-UX Oracle Java Application Server

  20. Runtime HP-UX Linux Oracle Application Server Oracle Database Server

  21. Support Platforms Development Production Integration Test System Test User Acceptance Development Development Development Preview Load Test

  22. The pieces Apache Ant: http://ant.apache.org Apache Tomcat: http://tomcat.apache.org Apache WebServer: http://httpd.apache.org Bugzilla: http://www.bugzilla.org Cobertura: http://junit.sourceforge.net CruiseControl: http://cruisecontrol.sourceforge.net/ CVS: http://ximbiot.com/cvs/wiki/index.php?title=Main_Page CVSWeb: http://www.freebsd.org/projects/cvsweb.html Eclipse: http://www.eclipse.org Java: http://java.sun.com JUnit: http://junit.sourceforge.net VQWiki: http://www.vqwiki.org Linux: redhat, fedora, ubuntu

  23. More pieces.. Not so free • HP-UX: http://www.hp.com or http://h20338.www2.hp.com/hpux11i/cache/324545-0-0-0-121.html • Oracle Application Server: http://www.oracle.com (middleware) or http://www.oracle.com/appserver/index.html • Oracle Database Server: http://www.oracle.com (database) or http://www.oracle.com/database/index.html • Rational Tools: RequisitePro, TestManager, Robot: http://www-306.ibm.com/software/awdtools/suite/index.html • Windows: desktop, server

  24. Even more pieces… Password Manager: http://www.geocities.com/ramix_info/passwordmanager.ht%6dl Cronolog: http://cronolog.org CGI Scripts for deploy automation

  25. The Future… Bugzilla to Jira $$ CVS to Subversion Ant to Maven XPlanner Upgrades upgrades upgrades…

More Related