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

Add test setup and takedown functionality #2

Merged
merged 1 commit into from
Apr 15, 2013
Merged

Add test setup and takedown functionality #2

merged 1 commit into from
Apr 15, 2013

Conversation

dadrian
Copy link
Contributor

@dadrian dadrian commented Apr 15, 2013

This allows the user to seperate individual tests into a function, and
register a callback to run before and after each test.

setup();
runTest();
takeDown();

This allows for a workflow more similar to JUnit, for those familar with
that.

This allows the user to seperate individual tests into a function, and
register a callback to run before and after each test.

	setup();
	runTest();
	takeDown();

This allows for a workflow more similar to JUnit, for those familar with
that.
@mhseiden
Copy link
Member

Looking good! There was also talk of taking it really far in this direction; something like a simplified RSpec or Mocha. That might be unnecessary for student projects though. Just jotting that down...

mhseiden added a commit that referenced this pull request Apr 15, 2013
Add test setup and takedown functionality
@mhseiden mhseiden merged commit 608f583 into michiganhackers:master Apr 15, 2013
@ryngonzalez
Copy link
Contributor

Good work, @dadrian! 👍

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