Skip to content

Commit 58696cf

Browse files
Updated readme.md and modified some skip tags
Signed-off-by: Anshukumar123975 <[email protected]>
1 parent 8b3d188 commit 58696cf

File tree

8 files changed

+25
-22
lines changed

8 files changed

+25
-22
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,25 @@ This repository includes:
88
1. A set of semantic validation rules
99
2. Comprehensive valid and invalid model examples
1010
3. Tests written using Cucumber, offering behavior-driven, human-readable test definitions
11-
4. Support for both JavaScript and C# runtimes
11+
4. Support for both JavaScript, C#(partially) and Rust runtimes.
1212
The suite specifically tests core components of the Concerto ecosystem: the `ModelFile` and `ModelManager` classes from `@accordproject/concerto-core`
1313

14+
## Working:
15+
This test suite enables straightforward integration with CI/CD pipelines, so Concerto itself can:
16+
1. Automatically run conformance tests on every push
17+
2. Detect semantic rule violations or model-breaking changes early
18+
3. Maintain consistent validation standards across development workflows
19+
1420
## Getting started
1521
1. Install dependencies:
1622
`npm install`
1723
2. Run the Javascript test suite:
1824
`npm test`
1925
3. Run tests for C#:
2026
`npm run test:csharp`
27+
4. Running tests for Rust can be done through the concerto-rust repository.
2128

2229
## Interactive CLI:
2330
You can also use the built-in CLI for a guided setup:
2431
`npm start`
25-
The CLI allows you to provide custom ModelManager, Parser, or ModelFile sources for testing.
26-
27-
## Future Roadmap
28-
Enabling straightforward integration with CI/CD pipelines, so projects like Concerto itself can:
29-
1. Automatically run conformance tests on every push
30-
2. Detect semantic rule violations or model-breaking changes early
31-
3. Maintain consistent validation standards across development workflows
32+
The CLI allows you to provide custom ModelManager, Parser, or ModelFile sources for testing.

semantic/features/enums.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Feature: Semantic Validation of Enum Declarations in CTO Models
2222
When I validate the models
2323
Then no error should be thrown
2424

25+
@skip
2526
Scenario: Enum name conflicts with imported enum should throw an error
2627
Given I load the following models:
2728
| model_file | alias |

semantic/features/imports.feature

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Feature: Semantic Validation of CTO Model Imports
88
When I validate the models
99
Then no error should be thrown
1010

11+
@skip
1112
Scenario: Conflict with imported type name should throw an error
1213
Given I load the following models:
1314
| model_file | alias |
@@ -24,7 +25,7 @@ Feature: Semantic Validation of CTO Model Imports
2425
When I validate the models
2526
Then no error should be thrown
2627

27-
@skip
28+
2829
Scenario: Importing a non-existent type should throw an error
2930
Given I load the following models:
3031
| model_file | alias |

semantic/features/support/C#/Semantic.Support.CSharp/obj/Debug/net6.0/Semantic.Support.CSharp.AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
[assembly: System.Reflection.AssemblyCompanyAttribute("Semantic.Support.CSharp")]
1414
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
1515
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
16-
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+7653fea349b866917c9cc7044db8ed120598b901")]
16+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+8b3d188f7796bc86a769ec0ca9b44e179af46cb7")]
1717
[assembly: System.Reflection.AssemblyProductAttribute("Semantic.Support.CSharp")]
1818
[assembly: System.Reflection.AssemblyTitleAttribute("Semantic.Support.CSharp")]
1919
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9ad3d597fa11c3c0d13dc451aea11e144aa5a066d2d7749313a7503c59eba7bf
1+
d4c49a2cbffa6f0bfb0fb1db59ac11c770e8933624109920ba2eaa13a42b389d

semantic/specifications/imports/models/MODEL_FILE_001/model_file_001_import_nonexistent_type.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{
77
"$class": "[email protected]",
88
"name": "Nonexistent",
9-
"namespace": "org.ghost.types"
9+
"namespace": "org.ghost.types@1.0.0"
1010
}
1111
],
1212
"declarations": [
@@ -27,13 +27,13 @@
2727
"location": {
2828
"$class": "[email protected]",
2929
"start": {
30-
"offset": 120,
30+
"offset": 126,
3131
"line": 6,
3232
"column": 3,
3333
"$class": "[email protected]"
3434
},
3535
"end": {
36-
"offset": 145,
36+
"offset": 151,
3737
"line": 7,
3838
"column": 1,
3939
"$class": "[email protected]"
@@ -44,13 +44,13 @@
4444
"location": {
4545
"$class": "[email protected]",
4646
"start": {
47-
"offset": 99,
47+
"offset": 105,
4848
"line": 5,
4949
"column": 1,
5050
"$class": "[email protected]"
5151
},
5252
"end": {
53-
"offset": 146,
53+
"offset": 152,
5454
"line": 7,
5555
"column": 2,
5656
"$class": "[email protected]"

semantic/specifications/namespaces/models/MODEL_FILE_003/model_file_003_valid_import.cto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace org.concerto.namespaces.modelfilethree.invalid@1.0.0
1+
namespace org.concerto.namespaces.modelfilethree.valid@1.0.0
22

33
concept LocalType {
44
o String VALUE

semantic/specifications/namespaces/models/MODEL_FILE_003/model_file_003_valid_import.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$class": "[email protected]",
33
"decorators": [],
4-
"namespace": "org.concerto.namespaces.modelfilethree.invalid@1.0.0",
4+
"namespace": "org.concerto.namespaces.modelfilethree.valid@1.0.0",
55
"imports": [],
66
"declarations": [
77
{
@@ -17,13 +17,13 @@
1717
"location": {
1818
"$class": "[email protected]",
1919
"start": {
20-
"offset": 89,
20+
"offset": 87,
2121
"line": 4,
2222
"column": 3,
2323
"$class": "[email protected]"
2424
},
2525
"end": {
26-
"offset": 105,
26+
"offset": 103,
2727
"line": 5,
2828
"column": 1,
2929
"$class": "[email protected]"
@@ -34,13 +34,13 @@
3434
"location": {
3535
"$class": "[email protected]",
3636
"start": {
37-
"offset": 66,
37+
"offset": 64,
3838
"line": 3,
3939
"column": 1,
4040
"$class": "[email protected]"
4141
},
4242
"end": {
43-
"offset": 106,
43+
"offset": 104,
4444
"line": 5,
4545
"column": 2,
4646
"$class": "[email protected]"

0 commit comments

Comments
 (0)