Skip to content

Instantly share code, notes, and snippets.


鸡爪 Choicelin

Block or report user

Report or block Choicelin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Choicelin / mocha-guide-to-testing.js
Created Oct 9, 2018 — forked from samwize/mocha-guide-to-testing.js
Explain Mocha's testing framework - describe(), it() and before()/etc hooks
View mocha-guide-to-testing.js
// # Mocha Guide to Testing
// Objective is to explain describe(), it(), and before()/etc hooks
// 1. `describe()` is merely for grouping, which you can nest as deep
// 2. `it()` is a test case
// 3. `before()`, `beforeEach()`, `after()`, `afterEach()` are hooks to run
// before/after first/each it() or describe().
// Which means, `before()` is run before first it()/describe()
Choicelin / # gcc@4.9 - 2018-01-07_18-41-28.txt
Created Jan 7, 2018
gcc@4.9 on macOS 10.13.1 - Homebrew build logs
View # gcc@4.9 - 2018-01-07_18-41-28.txt
Homebrew build logs for gcc@4.9 on macOS 10.13.1
Build date: 2018-01-07 18:41:28
You can’t perform that action at this time.