Validation Package test
v5.0.0 released on 06/21/2024
by John Doe; Jane Doe
1349 Downloads
this package is here for testing purposes only.
Install with arc-validate
arc-validate package install test --version 5.0.0
Include in a PLANTDataHUB CQC pipeline
validation_packages:
- name: test
version: 5.0.0
Description
this package is here for testing purposes only.
Release notes
Use ARCExpect v3
Browse code (v5.0.0)
let [<Literal>]PACKAGE_METADATA = """(*
---
Name: test
MajorVersion: 5
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 ARCExpect v3
CQCHookEndpoint: https://avpr.nfdi4plants.org
---
*)"""
printfn "If you can read this in your console, you successfully executed test package v5.0.0!"
#r "nuget: ARCExpect, 3.0.0"
open ARCExpect
open Expecto
let test_package =
Setup.ValidationPackage(
metadata = Setup.Metadata(PACKAGE_METADATA),
CriticalValidationCases = [
test "yes" {Expect.equal 1 1 "yes"}
]
)
test_package
|> Execute.ValidationPipeline(
basePath = System.Environment.CurrentDirectory
)