rdf-test-suite
Version:
Executes the RDF and SPARQL test suites.
10 lines (9 loc) • 400 B
TypeScript
import { Resource } from "rdf-object";
import { IFetchOptions } from "../Util";
import { ITestCase, ITestCaseData } from "./ITestCase";
/**
* An ITestCaseHandler interprets a test case resource and constructs test cases.
*/
export interface ITestCaseHandler<T extends ITestCase<any>> {
resourceToTestCase(resource: Resource, testCaseData: ITestCaseData, options?: IFetchOptions): Promise<T>;
}