-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
96 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -118,6 +118,53 @@ | |
"ReleaseNotes": "add authors and tags for further testing" | ||
} | ||
}, | ||
{ | ||
"RepoPath": "src/PackageRegistryService/StagingArea/test/[email protected]", | ||
"FileName": "[email protected]", | ||
"LastUpdated": "2024-03-07T16:02:19+01:00", | ||
"ContentHash": "618DC951075C63B2FDCE12450A584190", | ||
"Metadata": { | ||
"Name": "test", | ||
"Summary": "this package is here for testing purposes only.", | ||
"Description": "this package is here for testing purposes only.", | ||
"MajorVersion": 3, | ||
"MinorVersion": 0, | ||
"PatchVersion": 0, | ||
"Publish": true, | ||
"Authors": [ | ||
{ | ||
"FullName": "John Doe", | ||
"Email": "[email protected]", | ||
"Affiliation": "University of Nowhere", | ||
"AffiliationLink": "https://nowhere.edu" | ||
}, | ||
{ | ||
"FullName": "Jane Doe", | ||
"Email": "[email protected]", | ||
"Affiliation": "University of Somewhere", | ||
"AffiliationLink": "https://somewhere.edu" | ||
} | ||
], | ||
"Tags": [ | ||
{ | ||
"Name": "validation", | ||
"TermSourceREF": "", | ||
"TermAccessionNumber": "" | ||
}, | ||
{ | ||
"Name": "my-package", | ||
"TermSourceREF": "", | ||
"TermAccessionNumber": "" | ||
}, | ||
{ | ||
"Name": "thing", | ||
"TermSourceREF": "", | ||
"TermAccessionNumber": "" | ||
} | ||
], | ||
"ReleaseNotes": "add authors and tags for further testing" | ||
} | ||
}, | ||
{ | ||
"RepoPath": "src/PackageRegistryService/StagingArea/test/[email protected]", | ||
"FileName": "[email protected]", | ||
|
43 changes: 43 additions & 0 deletions
43
src/PackageRegistryService/StagingArea/test/[email protected]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
(* | ||
--- | ||
Name: test | ||
MajorVersion: 3 | ||
MinorVersion: 0 | ||
PatchVersion: 0 | ||
Publish: true | ||
Summary: this package is here for testing purposes only. | ||
Description: this package is here for testing purposes only. | ||
Authors: | ||
- FullName: John Doe | ||
Email: [email protected] | ||
Affiliation: University of Nowhere | ||
AffiliationLink: https://nowhere.edu | ||
- FullName: Jane Doe | ||
Email: [email protected] | ||
Affiliation: University of Somewhere | ||
AffiliationLink: https://somewhere.edu | ||
Tags: | ||
- Name: validation | ||
- Name: my-package | ||
- Name: thing | ||
ReleaseNotes: "add authors and tags for further testing" | ||
--- | ||
*) | ||
|
||
// this file is intended for testing purposes only. | ||
printfn "If you can read this in your console, you successfully executed test package v3.0.0!" | ||
|
||
#r "nuget: ARCExpect, 1.0.1" | ||
|
||
open ARCExpect | ||
open Expecto | ||
|
||
let validationCases = testList "test" [ | ||
test "yes" {Expect.equal 1 1 "yes"} | ||
] | ||
|
||
validationCases | ||
|> Execute.ValidationPipeline( | ||
basePath = System.Environment.CurrentDirectory, | ||
packageName = "test" | ||
) |