Skip to content

Conversation

@jacobroufa
Copy link
Contributor

No description provided.

@jacobroufa jacobroufa mentioned this pull request May 8, 2017
Copy link
Member

@devpaul devpaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good. Just needs a little rewording cleanup

},

makeTempDirectory: {
'base directory should be created if it does not exist'() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency I recommend labeling tests as "unit under test", "condition", "result"

Can we rename these tests to follow this convention?
e.g. "base directory does not exist; directory is created"

I know it can seem a bit odd to write but the consistency reads better and it's easier to compose conditions if multiple suites are used

mkdtempSync: mkdtempSyncStub
},
'mkdirp': {
sync: syncStub
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's rename this mkdirpSyncStub so it's easier to understand what this stub does

@dylans dylans added this to the 2017.05 milestone May 9, 2017
@devpaul devpaul merged commit 89af035 into dojo:master May 9, 2017
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.

3 participants