luftfartsverket / reqstool-client

Reqstool is a tool for managing requirements with related software verification cases (aka tests) and verification results (test results)
https://luftfartsverket.github.io/reqstool-client/
MIT License
2 stars 0 forks source link

Check references section in requirements.schema.json #71

Closed lfvdavid closed 5 months ago

lfvdavid commented 5 months ago

The example below is from a requirement in ms001 that references another requirement.

- id: REQ025
    title: Title REQ025
    significance: may
    description: Description REQ025
    rationale: Rationale REQ025
    categories: [security, functional-suitability]
    references:
      requirement_ids: ["REQ010"]
    revision: 0.0.1

Error when running reqstool:

Error running reqstool in '<path>'
Message:
Command failed: reqstool generate-json local -p .
ERROR:root:Syntax error(s) for urn 'ms001' using schema: requirements.schema.json
ERROR:root: 1. {'requirement_ids': ['REQ010']} is not of type 'array'

ms001: Failed to re-run reqstool.

Need to check/fix the configuration in the schema.

lfvbarcus commented 5 months ago

@lfvdavid Is this still a bug or could it be closed?

lfvdavid commented 5 months ago

This can be closed, wrong version of reqstool cased the issue

lfvbarcus commented 5 months ago

No bug, had old version of reqstool-client installed.