Skip to content

[Feature]: Textual Notation validation — 10-Analysis and Trades (Analysis and Trades) #297

Description

@antoineatstariongroup

What type of issue is this?

  • Bug report
  • Feature request

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of the SysML2.NET
  • I have searched open and closed issues to ensure it has not already been reported

Description

Sub-task of #288 — extend TextualNotationValidationTestFixture.VerifyValidationTextualNotationXmi to cover every validation model in the Pilot Implementation folder 10-Analysis and Trades (Analysis and Trades).

Source files live under https://github.com/Systems-Modeling/SysML-v2-Pilot-Implementation/tree/master/sysml/src/validation/10-Analysis and Trades.

Files to add

  • 10a-Analysis.sysml
  • 10b-Trade-off Among Alternative Configurations.sysml
  • 10c-Fuel Economy Analysis.sysml
  • 10d-Dynamics Analysis.sysml

Work to do

  1. For each *.sysml file above, produce the matching *.sysmlx (XMI) artifact and drop it under SysML2.NET.Serializer.TextualNotation.Tests/Validation/10-Analysis and Trades/.
  2. Register each new file in SysML2.NET.Serializer.TextualNotation.Tests/SysML2.NET.Serializer.TextualNotation.Tests.csproj with CopyToOutputDirectory=PreserveNewest (or whatever pattern is already used for folder 01-Parts Tree).
  3. Add a [TestCase("10-Analysis and Trades", "<file>.sysmlx")] entry per file to VerifyValidationTextualNotationXmi in SysML2.NET.Serializer.TextualNotation.Tests/Writers/TextualNotationValidationTestFixture.cs.
  4. Run the fixture. For every file that throws or produces clearly wrong output, either fix the underlying writer/grammar issue or open a focused follow-up issue and link it here. The acceptance criterion is green tests, not skipped tests — do not comment out failing cases.

Acceptance

  • All files in the list above are present under SysML2.NET.Serializer.TextualNotation.Tests/Validation/10-Analysis and Trades/ and copied to the test output.
  • One [TestCase] per file is wired up.
  • The fixture passes green; any defects surfaced have either been fixed or filed as follow-ups linked from this issue.

Steps to Reproduce

System Configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions