Skip to content

Instantly share code, notes, and snippets.

@DMeechan
Last active June 18, 2018 15:14
Show Gist options
  • Select an option

  • Save DMeechan/e89d4c8c20335ae15678546b7eb0cb08 to your computer and use it in GitHub Desktop.

Select an option

Save DMeechan/e89d4c8c20335ae15678546b7eb0cb08 to your computer and use it in GitHub Desktop.
DevOps Course Chapter 8 - Automated testing
describe('earth', function() {
describe('united kingdom', function() {
it('should have at least 70% rain', function() {
// Code for determining if there is enough rain
});
});
describe('australia', function() {
it('should have at least 80% sunshine', function() {
// Code for determining if sun is shining enough
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment