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

CS2113-AY1819S2-T09-1 / main / 116
92%

Build:
DEFAULT BRANCH: master
Ran 02 Mar 2019 10:43AM UTC
Jobs 1
Files 82
Run time 1min
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

pending completion
116

push

travis-ci

web-flow
Logic: add support for `Code` and `Credits` in `find` command (#35)

The `FindCommand` only allow searching of `Name` keywords currently. 
However, there are other fields that a user may also be interested in 
searching, such as:
* `Code`
* `Credits`

To allow our user to find module more effectively in our application, 
let's make the `find` command:
* allow finding of keywords prefixed with `PREFIX_NAME` in `Name`
* allow finding of keywords prefixed with `PREFIX_CODE` in `Code`
* allow finding of keywords prefixed with `PREFIX_CREDITS` in `Credits`
* refractor existing unit tests to include prefix `PREFIX_NAME`
* add new unit tests for finding of keywords in `Code`
* add new unit tests for finding of keywords in `Credits`

  [ 1/23] Model/module: add new abstract class `KeywordsPredicate`
  [ 2/23] Model: make `NameContainsKeywordsPredicate` extends `KeywordsPredicate
  [ 3/23] Logic: make `FindCommandParser#parse(...)` parse `PREFIX_NAME`
  [ 4/23] commands/FindCommandTest: refactor methods name
  [ 5/23] systemtests/FindCommandSystemTest: update broken unit tests in `find()`
  [ 6/23] test/parser: update `AddressBookParserTest` broken unit test
  [ 7/23] test/parser: update `FindCommandParserTest` broken unit test
  [ 8/23] test/parser: refactor ` FindCommandParserTest` attribute name
  [ 9/23] Model/module: add `CodeContainsKeywordsPredicate` class
  [10/23] Logic: make `FindCommandParser#parse(...)` parse `PREFIX_CODE`
  [11/23] FindCommand: update `MESSAGE_USAGE`
  [12/23] test/module: add unit tests to `CodeContainsKeywordsPredicateTest`
  [13/23] test/parser: add unit test to `FindCommandParserTest`
  [14/23] test/commands: add unit test to `FindCommandTest`
  [15/23] systemtests/FindCommandSystemTest: add unit tests
  [16/23] Model/module: add `CreditsContainsKeywordsPredicate` class
  [17/23] Logic: make `FindCommandParser#parse(...)` parse `PREFIX_CREDITS`
  [18/23] FindCommand: update `MESSAGE_USAGE`
  [1... (continued)

39 of 39 new or added lines in 5 files covered. (100.0%)

1430 of 1525 relevant lines covered (93.77%)

0.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 116.1 02 Mar 2019 10:43AM UTC 0
93.77
Travis Job 116.1
Source Files on build 116
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #116
  • 759495b0 on github
  • Prev Build on master (#108)
  • Next Build on master (#129)
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