• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CS2113-AY1819S2-T09-1 / main / 397 / 1
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 18 Mar 2019 04:01PM UTC
Files 106
Run time 9s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Mar 2019 03:56PM UTC coverage: 81.165% (-0.1%) from 81.269%
397.1

push

travis-ci

web-flow
Model: make `Module` support co-requisites (#91)

Resolves #89.

Co-requisites of a module cannot be added in the application.

However, users need to know what modules have to be taken together
(e.g. twinned modules) in the same semester.

Let's make Module support co-requisites by:

updating add and edit commands
cascading the deletion of modules from other modules' co-requisites
handle invalid co-requisite cases accordingly
printing the list of co-requisites in UI
save/load modules with co-requisites correctly
cascading the changes to the unit tests


  [ 1/12] Model: add `Set<Code>` co-requisites to `Module`
  [ 2/12] Model: update `Module#toString()` method
  [ 3/12] Logic/commands: make `AddCommand#parse(...)` accept co-requisites
  [ 4/12] Logic/commands: make `EditCommand#parse(...)` accept co-requisites
  [ 5/12] testutil: implement `ModuleBuilder#withCorequisites(...)`
  [ 6/12] Storage: make `JsonAdaptedModule` handle corequisites for saving/loading
  [ 7/12] Logic/commands: handle invalid co-requisites cases
  [ 8/12] Ui: make `ModuleCard` handle co-requisites
  [ 9/12] guitests: make `ModuleCardHandle` handle co-requisites
  [10/12] Storage: make `JsonSerializableModuleList` handle invalid co-requisites
  [11/12] test/storage: update `JsonSerializableAddressBook` test JSON file
  [12/12] Model: make `AddressBook#removeModule(...)` remove deleted co-requisite

1909 of 2352 relevant lines covered (81.16%)

0.81 hits per line

Source Files on job 397.1
  • Tree
  • List 0
  • Changed 14
  • Source Changed 14
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 292
  • Travis Job 397.1
  • c5c7b721 on github
  • Prev Job for on master (#393.1)
  • Next Job for on master (#399.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc