Skip to content

Validate yaml #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jun 7, 2020
Prev Previous commit
Next Next commit
outline yaml validation tests
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
  • Loading branch information
ShMcK committed Jun 7, 2020
commit e44942d6478ef8da4e5d7383be291edb1f228fb8
15 changes: 15 additions & 0 deletions tests/yaml.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
describe("yaml", () => {
it.todo("should parse a valid yaml file");
it.todo("should fail if version is invalid");
it.todo("should fail if version is missing");
it.todo("should fail if config is missing");
it.todo("should fail if config testRunner is missing");
it.todo("should fail if config testRunner command is missing");
it.todo("should fail if config testRunner args tap is missing");
it.todo("should fail if repo is missing");
it.todo("should fail if repo uri is missing");
it.todo("should fail if repo uri is invalid");
it.todo("should fail if repo branch is missing");
it.todo("should fial if level is missing id");
it.todo("should fail if level setup is invalid");
it.todo("should fail if step is missing id");
it.todo("should fail if step setup is invalid");
it.todo("should fail if solution setup is invalid");
});