Skip to content
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

Lesson 9: Sharing code between tests with setUp() and tearDown() #9

Merged
merged 2 commits into from
Dec 2, 2020

Conversation

samuelematias
Copy link
Owner

Description

PR with Lesson 9.

  setUpAll(() => print('Runs BEFORE any test is executed'));

  setUp(() => print('Runs BEFORE EVERY test is executed'));

  tearDown(() => print('Runs AFTER EVERY test is executed'));

  tearDownAll(() => print('Runs AFTER ALL tests have been executed'));

Types of changes

  • Fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvement (non-breaking change which adds Improvements)

@samuelematias samuelematias merged commit de8319f into main Dec 2, 2020
@samuelematias samuelematias changed the title Lesson 9 Lesson 9: Sharing code between tests with setUp() and tearDown() Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant