rdf-test-suite
Version:
Executes the RDF and SPARQL test suites.
10 lines (9 loc) • 415 B
TypeScript
import type { Resource } from 'rdf-object';
import type { IFetchOptions } from '../Util';
import type { 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>;
}