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 tests #10

Open
notori0us opened this issue May 9, 2016 · 2 comments
Open

Add tests #10

notori0us opened this issue May 9, 2016 · 2 comments
Assignees

Comments

@notori0us
Copy link
Owner

There are no tests in this project. Some basic unit test coverage, plus integration test coverage would be nice, assuming I want people other than me to contribute.

Also considering this is used by people, it probably matters.

@notori0us
Copy link
Owner Author

added model validation tests, as well as two functional tests around creating events, and another for testing the welcome page. I also added some fixtures to generate test data, though I don't use it.

Still to do:

  • Integration test
  • Mailer test
  • Functional test for get all logs

@notori0us notori0us self-assigned this May 25, 2016
@notori0us
Copy link
Owner Author

notori0us commented Jun 20, 2017

Cool, completely threw away my previous work. Now: Did feature test, now model/controller to do.

Also adding fixtures using factory_bot

inspiration here: https://robots.thoughtbot.com/how-we-test-rails-applications

notori0us added a commit that referenced this issue Nov 1, 2017
notori0us added a commit that referenced this issue Nov 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant