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

Refactoring #7

Merged
merged 25 commits into from
Nov 16, 2015
Merged

Refactoring #7

merged 25 commits into from
Nov 16, 2015

Conversation

jveski
Copy link
Owner

@jveski jveski commented Nov 16, 2015

This PR contains significant semantic corrections and style improvements. No known API changes, and little modification to the integration suite.

I'm renaming the shelltest function to constructor for the sake of being
more explicit. This will make sense in light of future refactoring.
The refactor moves the array of setter method names outside of the
constructor method.
This commit rethinks the procedural composition of setter methods on the
prototype and moves to static assignment of constructor prototype
methods.
This commit rethinks the options setter method builder to allow for use
on the cmd key.
This commit adds real object types for each expectation, in the form of
assertion objects that have an assert method which is called after
composition, during evaluation. This approach helps establish separation
of concerns, and will be more flexible in the future.
Assertions makes more sense.
This commit moves the bulk of Shelltest to the lib directory, but the
constructor stays in the entry point. This will help with testing down
the road.
They're integration tests really.
@jveski jveski added this to the 2.0.0 milestone Nov 16, 2015
jveski added a commit that referenced this pull request Nov 16, 2015
@jveski jveski merged commit 29038a4 into master Nov 16, 2015
@jveski jveski deleted the maint/refactoring branch November 16, 2015 07:16
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