14
All the dSoftArk Tools Getting started!

All the dSoftArk Tools Getting started!. Tools dSoftArk is a semi-realistic, agile, development project –Industrial strength software (programming, TDD,

Embed Size (px)

DESCRIPTION

Get started! Get started right away!!! Starting the day before delivery... will make you fail! Read link ’tool’ carefully from the web page... Henrik Bærbak Christensen3

Citation preview

Page 1: All the dSoftArk Tools Getting started!. Tools dSoftArk is a semi-realistic, agile, development project –Industrial strength software (programming, TDD,

All the dSoftArk Tools

Getting started!

Page 2: All the dSoftArk Tools Getting started!. Tools dSoftArk is a semi-realistic, agile, development project –Industrial strength software (programming, TDD,

Tools

  dSoftArk is a semi-realistic, agile, development project

– Industrial strength software (programming, TDD, testing, ant, external libraries)

– Many configurations (patterns, frameworks)

– Team effort (subversion)

Henrik Bærbak Christensen 2

Page 3: All the dSoftArk Tools Getting started!. Tools dSoftArk is a semi-realistic, agile, development project –Industrial strength software (programming, TDD,

Get started!

  Get started right away!!!

  Starting the day before delivery  ... will make you fail!

  Read link ’tool’ carefully from the web page...

Henrik Bærbak Christensen 3

Page 4: All the dSoftArk Tools Getting started!. Tools dSoftArk is a semi-realistic, agile, development project –Industrial strength software (programming, TDD,

BlueJ

  Nope!

Henrik Bærbak Christensen 4

Page 5: All the dSoftArk Tools Getting started!. Tools dSoftArk is a semi-realistic, agile, development project –Industrial strength software (programming, TDD,

Installing yourself

  You have to (see hints on the tool page!)– Get Java– Get Ant– Get SubVersion or Git

• (commandline or explorer integrated)

– Get IDE• My preferences: Emacs and Eclipse

– Get mandatory project starting code

– Screencast recording tool

Henrik Bærbak Christensen 5

Page 6: All the dSoftArk Tools Getting started!. Tools dSoftArk is a semi-realistic, agile, development project –Industrial strength software (programming, TDD,

SubVersion

  Subversion is a software configuration management tool.– Single database contains all versions of your code– Each developer works in his/her workspace

Henrik Bærbak Christensen 6

Page 7: All the dSoftArk Tools Getting started!. Tools dSoftArk is a semi-realistic, agile, development project –Industrial strength software (programming, TDD,

SubVersion

  Setup!– Get a local HTTP based repository, link on tools page

• One per team, not one per person! TA’s will collect info

– Import hotciv project into the repository  Daily work

– Svn update (get latest changes into my workspace)– Work (TDD)– Svn commit (copy back your changes to database)

  Read guides on tools page!

Henrik Bærbak Christensen 7

Page 8: All the dSoftArk Tools Getting started!. Tools dSoftArk is a semi-realistic, agile, development project –Industrial strength software (programming, TDD,

Build Management

  ... is an important topic in the book...

  Build management = Automate house holding– Smart recompilations of complete source trees– Handles dependencies

• Test requires recompilation requires output folder create...

– Nice to have thingies• JavaDoc for instance

Henrik Bærbak Christensen 8

Page 9: All the dSoftArk Tools Getting started!. Tools dSoftArk is a semi-realistic, agile, development project –Industrial strength software (programming, TDD,

Build Management

  In dSoftArk it is a postulate – just use it!– To recompile and run your JUnit test suite just

• ”ant test”• ”ant coverage”

  The Ant build file needs no modification for the first week– Following weeks you need to add ’targets’ but it is

more or less a matter of copy and paste...– Or use the coverage tasks, they do it automatically as

long as your test classes starts with ”Test”

Henrik Bærbak Christensen 9

Page 10: All the dSoftArk Tools Getting started!. Tools dSoftArk is a semi-realistic, agile, development project –Industrial strength software (programming, TDD,

Demo

Henrik Bærbak Christensen 10

Page 11: All the dSoftArk Tools Getting started!. Tools dSoftArk is a semi-realistic, agile, development project –Industrial strength software (programming, TDD,

Interior of build.xml

  The ’target’ to execute the test suite

Henrik Bærbak Christensen 11

Page 12: All the dSoftArk Tools Getting started!. Tools dSoftArk is a semi-realistic, agile, development project –Industrial strength software (programming, TDD,

The folder / package structure

  Package: – hotciv.framework– hotciv.standard

  But two source trees– src (production code)– test (test code)

  Read FRS 6.3.8

Henrik Bærbak Christensen 12

Page 13: All the dSoftArk Tools Getting started!. Tools dSoftArk is a semi-realistic, agile, development project –Industrial strength software (programming, TDD,

Alternative: Eclipse

  Really efficient   Once you master it

– you can upgradeto eclipse laterin the project!

  You have to setthe Build path– To include ‘test’– To include JUnit

Henrik Bærbak Christensen 13

Page 14: All the dSoftArk Tools Getting started!. Tools dSoftArk is a semi-realistic, agile, development project –Industrial strength software (programming, TDD,

JaCoCo

  ‘ant coverage’– Browse to ”TEST-RESULT/report/index.html”– Browsable coverage

Henrik Bærbak Christensen 14