Opened 8 years ago

Closed 8 years ago

#345 closed enhancement (fixed)

Add failure message to requirements

Reported by: ibboard Owned by: ibboard
Priority: major Milestone: WarFoundry API 0.2
Component: WarFoundry-API Version: Unknown or N/A
Keywords: requirement Cc:
Blocked By: Blocking: #27, #343, #344

Description

To make requirements more useful to the user, they need to report a failure message.

Change History (14)

comment:1 Changed 8 years ago by ibboard

Owner: set to ibboard
Status: newaccepted

comment:2 Changed 8 years ago by ibboard

In [916]:

Re #345: Add failure message to requirements

  • Add abstract requirement class to handle some of the message commonality

comment:3 Changed 8 years ago by ibboard

In [917]:

Re #345: Add failure message to requirements

  • Implement new method from requirement interface
  • Add first tests for "at least" requirement

comment:4 Changed 8 years ago by ibboard

In [918]:

Re #345: Add failure message to requirements

  • Implement message creation for "at least" requirement

comment:5 Changed 8 years ago by ibboard

In [919/warfoundry]:

Re #345: Add failure message to requirements

  • Add tests for "unit at least" requirement

comment:6 Changed 8 years ago by ibboard

In [920]:

Re #345: Add failure message to requirements

  • Add protected property to hold prefix for validation string, as that is all that changes

comment:7 Changed 8 years ago by ibboard

Blocking: 343 added

comment:8 Changed 8 years ago by ibboard

Blocking: 344 added

comment:4 Changed 8 years ago by ibboard

In [921]:

Re #345: Add failure message to requirements

  • Test return of messages from requirement handler

comment:5 Changed 8 years ago by ibboard

In [922]:

Re #345: Add failure message to requirements

  • Return message for each failure (don't stop at first one)

comment:6 Changed 8 years ago by ibboard

In [924]:

Re #345: Add failure message to requirements

  • Add tests for "no more than" requirements

comment:7 Changed 8 years ago by ibboard

In [925]:

Re #345: Add failure message to requirements

  • Add implementation that lists only failed parts for "no more than" requirements

comment:8 Changed 8 years ago by ibboard

In [928]:

Re #345: Add failure message to requirements

  • Add testing of failure messages for "allows adding"

comment:9 Changed 8 years ago by ibboard

Resolution: fixed
Status: acceptedclosed

In [929]:

Fixes #345: Add failure message to requirements

  • Add implementation of failure messages for "allows adding"
Note: See TracTickets for help on using tickets.