1 / 26

Open Source Solutions to ALM

Open Source Solutions to ALM. Eric Brown eric.m.brown@thomsonreuters.com. What is ALM. According to Wikipedia

dane-riddle
Download Presentation

Open Source Solutions to ALM

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. Open Source Solutions to ALM Eric Brown eric.m.brown@thomsonreuters.com

  2. What is ALM • According to Wikipedia • Application lifecycle management (ALM) is the marriage of business management to software engineering made possible by tools that facilitate and integrate requirements management, architecture, coding, testing, tracking, and release management.

  3. Agenda • Defect Tracking and Change Management • Unit Testing • Version Control • Build Management

  4. Defect Tracking and Change Management • Defect Tracking is tracking defects (duh) in a product • Testing • Customer Feedback • Change management

  5. Defect Tracking and Change Management • Bugzilla • Used by Mozilla • Optimized database structure for increased performance and scalability • Built-in security and permissions system • Advanced query tool that can remember your searches • Integrated email capabilities • Editable user profiles and email preferences

  6. Defect Tracking and Change Management • Demo

  7. Unit Testing • What • Why • Who • How

  8. Unit Testing public static bool AreEqual(byte[] a, byte[] b) { if(null == a && null == b) return true; if(null == a) throw new ArgumentNullException(“a”, “cannot be null”); if(null == b) throw new ArgumentNullException(“b”, “cannot be null”); if (a.Length != b.Length) return false; for(int i=0; i < a.Length; i++) { if(a[i] != b[i]) return false; } return true; }

  9. Unit Testing • You should be Unit Testing!! • UI’s are more difficult to unit test • For testing middleware components that get data from a database you need • Generate stubs • Seed data in the database

  10. Unit Testing - Strategies • Build tests for each non private method • Each test is independent from other tests • What about private methods? • When building tests make sure to deal with • Happy path testing • Boundary conditions • Exception cases

  11. Unit Testing • There are others, but popular ones include • NUnit • XUnit • MbUnit • CSUnit

  12. Unit Testing • Demo

  13. Version Control - Subversion • Free • Multi-platform • Fast over VPN • Multiple client applications • Work done locally • Offline story • No exclusive checkout issues • Multiple protocols supported (http/https/svn)

  14. VC: Subversion Terms

  15. VC: Subversion Client Tools • Subversion command-line • TortoiseSVN • Eclipse plug-ins available • Visual Studio .NET plug-ins available: • AnkhSVN - free • VisualSVN (Costs ~$49/license, but awesome)

  16. Version Control • Demo

  17. Build Management – Build Master

  18. Build Management • A build is more than just a compile • Get latest code from source repository • Compile the code • Run Unit tests • Run code analysis / coverage • Run code compliance • Deploy to a deployment site if necessary

  19. Build Management Tools • Nant - useful for performing build tasks • CruiseControl .Net • Automated continuous integration server • Monitors source repository • On a schedule can launch an integration build to validate changes • Notifies developers as to successful build or fail. • Build is not just a compile of code • Can build multiple projects on one server • Remote management and reporting • CCTray .Net

  20. Build Management Tools • Demo

  21. Other tools exist for ALM • NCover – Code coverage analysis • FXCop – Code compliance • Vil – code metrics analysis • Simian – similarity analysis ($$) • NDepend – dependency analysis ($$) • JetBrains Team City • build management • continuous integration server • And others not listed

  22. Resources • Bugzilla • http://www.bugzilla.org • Nant • http://nant.sourceforge.net/ • CruiseControl.NET • http://confluence.public.thoughtworks.org/display/CCNET/Welcome+to+CruiseControl.NET • Team City • http://www.jetbrains.com/teamcity/

  23. Resources (cont.) • Unit Testing • Nunit - www.nunit.org • Xunit - www.codeplex.com/xunit • MbUnit – www.mbunit.com • CSUnit – www.csunit.org • Test Driven .NET - http://www.testdriven.net/download.aspx

  24. Resources (cont) • Subversion • Repository – http://subversion.tigris.org • Tools • TortoiseSVN – http://tortoisesvn.tigris.org • AnkhSVN - http://ankhsvn.open.collab.net • Visual SVN-http://www.visualsvn.com/visualsvn

  25. Questions

More Related