Software Development 2 Assignment Three Semester 2, 2026 | Griffith College Dublin

Software Development 2 Assignment Three

Course: BSCH In Computer Science
Stage/Year: 2
Module: Software Development 2
Semester: 2
Assignment Number: 3
Date of Title Issue: 25/02/2026
Proposal deadline: 08/03/2026
Assignment Submission: Upload to Moodle
Assignment Weighting: 8%

Assignment Title – SD2 Worksheet Three: Integration Tests

Assignment Instructions

This worksheet is to help you become familiar with the basics of

  • Integration testing
  • Test Driven Development

This worksheet is worth 8% of your CA

Submit before 04/03/26 23:59

After writing each unit test and before writing the implementation you will need to make a commit. It is an absolute requirement of the worksheet that you commit after each completion of a unit test and implementation. You will lose marks if your repository does not reflect this.

Create a new project in Eclipse(or other IDE) called SD2_LabThree_<studentnumber>

  • With <studentnumber> being your student number i.e. SD2_LabThree_323212. Create a new package with the name griffith.
    • Create an abstract class Shape o Add a private String name o Add a constructor that sets name o Add getters and setters. o Add two abstract methods double area() and double perimeter() o Add a toString method that prints name.
    • Create three subclasses that extend from Shape: Circle, Rhombus,

    RightAngledTriangle , o For each class add any needed attributes, and constructors e.g.

    radius for Circle,

    • override the toString to include the new attributes o In each sub class you will need to override the abstract methods with the appropriate behaviours
    • g. Area of a Circle is π r2 o Remember do not add implementations to the methods until after the tests are written.

     

    • Create a class ShapeTest
    • Create unit tests for each of the three subclasses o Test the area , perimeter and toString methods of each subclass o For floating point tests use an epsilon of

     

    • Write an integration test that contains an ArrayList<Shapes> shapes o Add two of each subclass to the shapes list,
      • g shapes.add(new Circle(“Circle”,3.5)); o Loop through shapes and test the area and perimeter methods for each shape in the shapes list.

     Marks

o Unit tests (20 marks)

o Integration test (20 marks)

o Implementation (20 marks)

o Comments and Coding Standards (10 marks)

o Repository with proper commit history (30 marks)

Comments and Coding Standards

Comments

  • Include a comment at the top of the file with your name and student number.
  • Add a comment for each coding task explaining what the code does.

 

Follow coding standards: 

  • Lowercase for variable names.
  • Uppercase for the class name.
  • All uppercase for constants.
  • Use naming standards.
  • Indent your code.

Learning Outcomes  

This assignment is assessing the following programme and related module learning outcomes: Programme and related module learning outcomes that this assignment is assessing.

  1. Install, configure, and utilize a testing framework for a software project.
  2. Use technical design and implementation skills.

Artificial Intelligence Assessment Scale (AI AS):  

AI Assessment Scale Framework

https://www.griffith.ie/sites/default/files/202505/f6.5aiinlearnerassessmentpolicy.pdf

This assignment is subject to AI permission option:

AI for Editing  [X ]

Assignment Specific AI Instructions

  • AI may be used to assist in bug fixing or to check for issues in your code before submission.
  • AI may not be used to generate project code or comments. All submitted code should be your own work.
  • If unauthorized or undeclared AI use is found, you will be required to explain your submission to show understanding of the code.

Please note:

  • All AI generated content and process must be declared.
  • Any task that is not listed as permitted may be assumed to be prohibited.

If it is determined that a learner has used an AI tool in any way that is not permitted by the chosen level, then they will be subject to the disciplinary procedures listed in the Academic Integrity and Misconduct policy regarding the misuse of AI in assignments.

Penalties

Late Penalties

Standard penalties will be applied to work that is submitted late, as per faculty guidelines. https://moodle.griffith.ie/mod/resource/view.php?id=18202

Penalties that apply to this assignment

All code should be submitted as .java files.

Submission of text files, .class files or other file types will incur a 20% penalty.

Submission of file types that cannot be graded such as .jar files will result in resubmission, late penalties will apply to any resubmissions, Uncommented code may result in no marks.

AI generated comments and code may result in no marks.

Assessment Criteria

Assessment criteria applied to this assignment:

Implementation abstract class Shape

5
 class Circle 5
 class Rhombus 5
 class RightAngledTriangle 5
Unit Tests 2
Test Circle area , perimeter and toString methods 6
TestRhombus area , perimeter and toString methods 6
Test RightAngledTriangle area , perimeter and toString methods 6
Integration tests.

ArrayList<Shapes>  shapes

 

 

2

Add two of each subclass to the shapes list 6
make a list of expected values 4
loop through shapes 2
test area and perimeter 6
Repository 

Git repo shared

 

 

5

Commit with stubs 5
Commit for each unit test 5
Commit for each implementation 5
Commit in correct order unit test->implementation-

> next unit test

10
Comments 5
Coding standards 5
Total 100

Submission Instructions and Plagiarism

Plagiarism

All work must be your own. Any cases of suspected plagiarism will be thoroughly investigated and may be brought in for VIVA. All parties involved in cases of plagiarism will receive a 0 and their student record marked accordingly. Any submission that is found to be plagiarised will receive a grade of 0 without the possibility of resubmission.

By submitting your assignment you accept that you understand what plagiarism is and that your assignment is not plagiarised in any way. 

Instructions for submission

All work must be submitted via the submission point on Moodle, email submissions not accepted.

Submit all files as a zip file to Moodle in the format

SD2_LabOne_number.zip

e.g. SD2_LabOne_1000323

Need Expert Help

Many Griffith College Dublin students find the Software Development 2 Assignment Three (SD2 Worksheet Three) challenging because implementing abstract classes, writing unit and integration tests, and applying Test-Driven Development (TDD) with proper Git commit history requires strong Java programming and testing skills. But there is no need to worry, as Ireland Assignment Helper provides reliable Java Programming Assignment Help aligned with Griffith College Dublin requirements. You can also view software development 2 assignment two for clarity. Order today assignment help dublin and receive a 100% custom, human-written Software Development assignment solution, prepared only for you.

The post Software Development 2 Assignment Three Semester 2, 2026 | Griffith College Dublin appeared first on Ireland Assignment Helper.