The module will cover the following aspects of modern contemporary software engineering. Each one will be analysed in terms of its utility in software development, its implementation in a specific software tool. (Note that this list of topics is indicative only.) Introduction and general methodological questions (2 lectures) EXtreme Programming Methodology Automated Testing and Continuous Integration Types of automated testing Brief overview of some testing tools (Junit, Cactus, HttpUnit, etc.) Eclipse and Java (3 lectures) General description of Eclipse The Java quick tour in Eclipse Creating in Eclipse a Java project, Java Class and running Java programme Working with syntax errors in Eclipse Java Editor Preferences and other settings Code-completion/code-generation features Eclipse and JUnit (3 lectures) Creating and running a JUnit test case in Eclipse JUnit wizard in Eclipse Running the JUnit tests in
Eclipse Example of test driven programming in Eclipse Introducing Ant (4 lectures) Getting Started: running you first build Ant and XML Ant targets and tasks; target dependencies Structured Build in Ant: Laying out the source directories and source files Compiling and running Java programs ftom command line vs from inside Ant Ant: Datatypes and Properties (5 lectures) Datatypes: filesets, paths, filtersets, mappers Properties: property (paramenter) handling mechanism; various ways of setting and using properties; built-in properties, property files; immutability of properties Mechanism of referencing to datatypes Setting properties by tasks (available), (uptodate), (condition) Setting properties from command line Using properties for conditional target execution with if/unless Using properties for conditional patternset inclusion/exclusion Ant: Nested Builds (1 lecture) Using (Ant) task for building subp
rojects into a bigger project Passing properties to subprojects More on Testing and JUnit (3 lectures) JUnit Primer Invoking JUnit test runner from Ant Asserting desired results Ant, Testing and JUnit (3 lectures) Running a test case with setUp() and tearDown() Ant's task (junit) General Ant build process related to JUnit testing Ant: Capturing JUnit test results (3 lectures) Test result formatters Running multiple tests under (batchtest) Generating (HTML) test result reports by using (junitreport) Ant task Outline of test-driven programming Eclipse and Ant (3 lectures) How Ant works in the framework of Eclipse Creating the build directory structure Separating the source and build directories in a new or existing project Ant script editor: code-completion and other useful features Running Ant from inside of Eclipse Importing Existing Ant Project into Eclipse with source folde
rs corresponding to specific output folders
|