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 minitest framework to begin supporting TDD approach for API changes #22

Merged
merged 25 commits into from Jul 8, 2016
Merged

Conversation

alexcu
Copy link
Contributor

@alexcu alexcu commented Jul 8, 2016

@jakerenzella and I discussed switching to a TDD approach to unit testing for API changes. We suggested to merge this branch into develop; therefore new features (such as the ticketing system) can be branched off develop and a TDD approach can be adopted using these additions as a template/guide.

Additional tests that are yet to be written for existing APIs can then be branched off developed accordingly, e.g., test/api-submission, test/api-group-sets etc.

What do you think @macite?

Reuben Wilson and others added 25 commits April 9, 2016 16:40
Add test for units and change Assert to be Assert_equal where necessary.
PUT Test will POST a unit, test it, PUT an update and test the updated values.
auth_helper manages authentication for all tests that require authentication
Prevent stale branch from occuring
@alexcu alexcu changed the title Add minitest framework to begin supporting API changes Add minitest framework to begin supporting TDD approach for API changes Jul 8, 2016
@macite
Copy link
Member

macite commented Jul 8, 2016

Agreed. Now that the issues are sorted with this I am very keen to move to TDD... including using this when fixing other issues as well etc.

@macite macite merged commit e5876ce into doubtfire-lms:develop Jul 8, 2016
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