Validation Package test
v4.0.0 released on 06/21/2024
by John Doe; Jane Doe
357 Downloads
this package is here for testing purposes only.
Install with arc-validate
arc-validate package install test --version 4.0.0
Include in a PLANTDataHUB CQC pipeline
validation_packages:
- name: test
version: 4.0.0
Description
this package is here for testing purposes only.
Release notes
use in-package metadata
Browse code (v4.0.0)
let [<Literal>]PACKAGE_METADATA = """(*
---
Name: test
MajorVersion: 4
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: j@d.com
Affiliation: University of Nowhere
AffiliationLink: https://nowhere.edu
- FullName: Jane Doe
Email: jj@d.com
Affiliation: University of Somewhere
AffiliationLink: https://somewhere.edu
Tags:
- Name: validation
- Name: my-package
- Name: thing
ReleaseNotes: "use in-package metadata"
---
*)"""
#r "nuget: ARCExpect, 1.0.1"
#r "nuget: AVPRIndex"
open AVPRIndex.Domain
open AVPRIndex.Frontmatter
let metadata = ValidationPackageMetadata.extractFromString(PACKAGE_METADATA)
// this file is intended for testing purposes only.
printfn "If you can read this in your console, you successfully executed test package v4.0.0!"
printfn "%A" metadata.Summary
#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"
)