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

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

Build:
DEFAULT BRANCH: master
Ran 31 Mar 2019 09:56AM UTC
Jobs 1
Files 105
Run time 5s
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
676

push

travis-ci

lycjackie
Logic: update `EditCommand` success and error messages (#139)

The error messages of `EditCommand` are very vague, and do not provide
much information to help users fix incorrect command usage.

Additionally, when editing a module, a user may not remember what module
was modified.

Furthermore, when users simply executes the `edit` command without any
parameters specified, they are greeted with "Invalid command format!".
This may cause users to feel more confused.

Let's update the success and error messages of `EditCommand` to address
the above problems by making the messages easy to understand and provide
relevant information to help them fix incorrect command usage. Also,
let's simply print `EditCommand#MESSAGE_USAGE` instead of
`CliSyntax#MESSAGE_INVALID_COMMAND_FORMAT`.

32 of 32 new or added lines in 2 files covered. (100.0%)

2255 of 2604 relevant lines covered (86.6%)

0.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 676.1 31 Mar 2019 09:56AM UTC 0
86.6
Travis Job 676.1
Source Files on build 676
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #676
  • 0d171203 on github
  • Prev Build on master (#671)
  • Next Build on master (#690)
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