Skip to content

Instantly share code, notes, and snippets.

@aliaspooryorik
Created March 12, 2019 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aliaspooryorik/194d5b9d0f899f2acf2eba61d08920db to your computer and use it in GitHub Desktop.
Save aliaspooryorik/194d5b9d0f899f2acf2eba61d08920db to your computer and use it in GitHub Desktop.
Simple BDD test
component extends="testbox.system.BaseSpec" {
function run(testResults, testBox) {
Feature("TestSuite", function() {
Given("I want to use TestBox", function() {
When("I run the TestSuite", function() {
Then("It should find and run tests", function() {
expect(true).toBeTrue();
});
});
});
});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment