ms-structural / ms-structural/femdesign-api

Unit test class serialisation against schema element ignoring default values

Open
#631 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority:now type:test
Dominant language
C#
Stars
51
Forks
29
PR merge metrics
No merged PRs in 30d

Description

The purpose of these unit tests is to catch any additions made to the xml-schema which is only possible if we can ignore default values of the xml-schema during validation.

  • Add test ignoring default values if possible
  • Manual control of additions in XML schema by comparing files. Option if automatic validation does not work due to default values.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing unit tests for class serialization and XML schema validation; no specific files or test entry points are named in the issue. Determine whether validation can ignore schema default values, then cover that behavior or compare the relevant XML schema files manually so additions are detected.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.