}
@Override
public String generate() {
try {
ScriptResolver resolver = this.getConfiguration().getScriptResolver();
return this.generateHtml(
resolver.getAllScripts(),
resolver.getPreloads(),
resolver.getSources(),
resolver.getSpecs(),
resolver.getSourceDirectory(),
resolver.getSpecDirectory()
);
} catch (ScriptResolverException e) {
throw new RuntimeException("Failed to load files for dependencies, sources, or a custom runner", e);
} catch (IOException e) {
throw new RuntimeException("Failed to load files for dependencies, sources, or a custom runner", e);