Skip to content

Latest commit

 

History

History
245 lines (187 loc) · 20.6 KB

P1.md

File metadata and controls

245 lines (187 loc) · 20.6 KB

ES21 P1 submission, Group 13

Feature PRA

Subgroup

Pull requests associated with this feature

The list of pull requests associated with this feature is:

New/Updated domain entities

New entities

Entities changed

  • Question
    • Added field OPEN_ANSWER_QUESTION
  • SpockTest
    • Added field OPEN_ANSWER_1
    • Added field OPEN_ANSWER_2
  • ErrorMessage
    • Added field EMPTY_ANSWER
  • Updator
    • Added method void update(OpenQuestion openAnswerQuestion)
  • Visitor
    • Added method void visitQuestionDetails(OpenQuestion question)
  • QuestionsXmlImport
    • Added method QuestionDetailsDto importOpenAnswerQuestion(Element questionElement)
  • XmlQuestionExportVisitor
    • Added method void visitQuestionDetails(OpenQuestion question)
  • Visitor
    • Added method void visitQuestionDetails(OpenQuestion openAnswerQuestion)

Feature testing

We define one success test, one insuccess test, and tests for invalid input. The direct links to these are:

Test Coverage Screenshot

The screenshot includes the test coverage results associated with the new/changed entities:

Question Coverage Screenshot

Answer Coverage Screenshot

Open Question Coverage

Open Question Answer Coverage


Feature PEM

Subgroup

  • Miguel Silva, ist193739, miguel-dasilva
  • Nuno Carvalho, ist193744, nfnvsc

Pull requests associated with this feature

The list of pull requests associated with this feature is:

New/Updated domain entities

New entities

  • No new entities were added, just changed existing ones.

Entities changed

  • MultipleChoiceQuestion
    • Changed field Options
    • Changed setOptions method
    • Changed getCorrectOptionsId method
    • Added getCorrectOptionsRelevance method
    • Changed getCorrectAnswerRepresentation method
    • Changed getCorrectAnswers method
  • QuestionsXmlImport
    • Added field optionDto.setRelevance(relevance)
  • XMLQuestionExportVisitor
    • Changed method, added optionElement.setAttribute("relevance", String.valueOf(option.getRelevance()))
  • Option
    • Added field relevance This entities were changed due to when making the question side of the project we got an idea on how to implement the future answer side
  • MultipleChoiceAnswerItem
    • Changed field optionsID
  • AnswersXMLExportVisitor
    • Changed field -> now returns multiple options that the user can choose
  • AnswersXMLImport
    • Changed field optionsID is now a list

Feature testing

We define one success tests one insuccess test, and tests for invalid input. The direct links to these are:

Test Coverage Screenshot

The screenshot includes the test coverage results associated with the new/changed entities:

Option Coverage Multiple Choice Answer Coverage Import XML / Latex Coverage

Feature PCI

Subgroup

  • Francisco Rodrigues, ist193711, franciscosaiote
    • Issues assigned: #12
  • Gustavo Pinto, ist189627, g2pinto
    • Issues assigned: #7

    • Issues assigned to both members:

Pull requests associated with this feature

The list of pull requests associated with this feature is:

New/Updated domain entities

New entities

Entities changed

  • Question
    • Added field public static final String ITEM_COMBINATION_QUESTION = "item_combination"

Feature testing

We define one success test, one insuccess test, and tests for invalid input. The direct links to these are:

Test Coverage Screenshot

The screenshot includes the test coverage results associated with the new/changed entities:

Item Combination Question Coverage

Item Coverage

Import Export Coverage